WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [HVM] Fix 64 bit PV-on-HVM driver builds

To: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [HVM] Fix 64 bit PV-on-HVM driver builds
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 06 Jun 2007 17:38:56 +0100
Delivery-date: Wed, 06 Jun 2007 09:37:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4666DC10.9020107@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceoWSzEa2Fq2hRMEdyEZAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] [HVM] Fix 64 bit PV-on-HVM driver builds
User-agent: Microsoft-Entourage/11.3.3.061214
This makes no sense. x86/64 drivers build fine for me as is.

 -- Keir


On 6/6/07 17:08, "Ben Guthro" <bguthro@xxxxxxxxxxxxxxx> wrote:

> xenbus-drivers-64bit-build-fix.patch:
> allow unmodified drivers to build under 64 bits
> 
> Signed-off-by: David Lively <dlively@xxxxxxxxxxxxxxx>
> 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 <xen/interface/nmi.h>
>  #include <asm/ptrace.h>
>  #include <asm/page.h>
> -#if defined(__i386__)
> +
> +#if !defined(CONFIG_XEN) || defined(__i386__)
>  #  ifdef CONFIG_X86_PAE
>  #   include <asm-generic/pgtable-nopud.h>
>  #  else
>  #   include <asm-generic/pgtable-nopmd.h>
>  #  endif
>  #endif
> +
>  
>  extern shared_info_t *HYPERVISOR_shared_info;
>  
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel