From: Keir Fraser Subject: Re: [PATCH] [HVM] Fix 64 bit PV-on-HVM driver builds Date: Wed, 06 Jun 2007 17:38:56 +0100 Message-ID: References: <4666DC10.9020107@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4666DC10.9020107@virtualiron.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: Ben Guthro , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This makes no sense. x86/64 drivers build fine for me as is. -- Keir On 6/6/07 17:08, "Ben Guthro" wrote: > xenbus-drivers-64bit-build-fix.patch: > allow unmodified drivers to build under 64 bits > > Signed-off-by: David Lively > diff -r d4a0706d6747 > linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h > --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h Tue May > 15 15:14:02 2007 +0100 > +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h Thu May > 17 15:01:35 2007 -0400 > @@ -45,13 +45,15 @@ > #include > #include > #include > -#if defined(__i386__) > + > +#if !defined(CONFIG_XEN) || defined(__i386__) > # ifdef CONFIG_X86_PAE > # include > # else > # include > # endif > #endif > + > > extern shared_info_t *HYPERVISOR_shared_info; > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel