|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-ia64-devel
[Xen-ia64-devel] RE: [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> |  | 
[Xen-ia64-devel] RE: [PATCH] trivial xen SMP build fix,
Magenheimer, Dan (HP Labs Fort Collins) <=
 |  |  | 
  
    |  |  |