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-ia64-devel

[Xen-ia64-devel] RE: [PATCH] trivial xen SMP build fix

To: "Williamson, Alex (Linux Kernel Dev)" <alex.williamson@xxxxxx>
Subject: [Xen-ia64-devel] RE: [PATCH] trivial xen SMP build fix
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Wed, 9 Nov 2005 15:07:25 -0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 09 Nov 2005 23:07:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXlgQLWKqM0WStFTSuucckbi/49sAAATrPA
Thread-topic: [PATCH] trivial xen SMP build fix
Are you using gcc 3.4 (or newer)? 

> -----Original Message-----
> From: Williamson, Alex (Linux Kernel Dev) 
> Sent: Wednesday, November 09, 2005 3:59 PM
> To: Magenheimer, Dan (HP Labs Fort Collins)
> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [PATCH] trivial xen SMP build fix
> 
> 
>    Patch below allows xen to build with CONFIG_XEN_SMP.  There's a
> redefinition of sprintf in efi.h with the original ordering.  It seems
> to boot with this change, but I won't claim it entirely 
> works.  Thanks,
> 
>       Alex
> 
> -- 
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
> 
> diff -r be53bbe62f2e xen/arch/ia64/linux-xen/sal.c
> --- a/xen/arch/ia64/linux-xen/sal.c   Wed Nov  9 21:31:01 2005
> +++ b/xen/arch/ia64/linux-xen/sal.c   Wed Nov  9 15:46:21 2005
> @@ -14,12 +14,12 @@
>  #include <linux/spinlock.h>
>  #include <linux/string.h>
>  
> +#ifdef XEN
> +#include <linux/smp.h>
> +#endif
>  #include <asm/page.h>
>  #include <asm/sal.h>
>  #include <asm/pal.h>
> -#ifdef XEN
> -#include <linux/smp.h>
> -#endif
>  
>   __cacheline_aligned DEFINE_SPINLOCK(sal_lock);
>  unsigned long sal_platform_features;
> 
> 
> 

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

<Prev in Thread] Current Thread [Next in Thread>