From: Keir Fraser Subject: Re: [PATCH] Rename init_IRQ to xen_init_IRQ Date: Wed, 17 May 2006 08:02:00 +0100 Message-ID: <773bffe60272cb900beb7cd790e2b6e5@cl.cam.ac.uk> References: <571ACEFD467F7749BC50E0A98C17CDD8094E7C43@pdsmsx403> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <571ACEFD467F7749BC50E0A98C17CDD8094E7C43@pdsmsx403> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 17 May 2006, at 05:10, Tian, Kevin wrote: > In the start, I moved init_IRQ to x86 io_apic.c which however > doesn't > work if user compiles xen0/xenU by different configuration file because > xenU doesn't compile io_apic by default. I'm not sure whether worthy of > changing domU config file and then simply keep it within evtchn.c How about we declare it in evtchn.c always, but attribute((weak))? It's small and is marked __init anyway, so no space concern really. And it'll avoid putting yet another thing in CONFIG_X86? -- Keir