From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] pv-ops: Fix missing 'ifdef CONFIG_XEN' in acpi Date: Fri, 16 Apr 2010 10:56:04 -0400 Message-ID: <20100416145604.GC29398@phenom.dumpdata.com> References: <4BC7C657.3010609@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4BC7C657.3010609@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yu Zhiguo Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, Apr 16, 2010 at 10:07:19AM +0800, Yu Zhiguo wrote: > > routines 'xen_register_gsi' and 'xen_teardown_msi_dev' cannot be used > unless macro 'CONFIG_XEN' is defined, otherwise build error occurs. There has to be a better of doing this. Aren't the xen_register_gsi defined in the header files? How about making in the header file the #ifdef CONFIG_XEN there?