[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |