[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: redefine a few empty macros as explicit nops.
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxx> # Date 1299496871 0 # Node ID da9295229f17fb4a8e2e5b0a05d2ab750762cacc # Parent 5317eb6567616c5adb1b0e3c4c2a001eb38bc7a5 x86: redefine a few empty macros as explicit nops. This is needed to compile xen with clang. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- diff -r 5317eb656761 -r da9295229f17 xen/include/asm-x86/apic.h --- a/xen/include/asm-x86/apic.h Mon Mar 07 11:21:11 2011 +0000 +++ b/xen/include/asm-x86/apic.h Mon Mar 07 11:21:11 2011 +0000 @@ -6,7 +6,7 @@ #include <asm/fixmap.h> #include <asm/msr.h> -#define Dprintk(x...) +#define Dprintk(x...) do {} while (0) /* * Debugging macros diff -r 5317eb656761 -r da9295229f17 xen/include/asm-x86/hvm/support.h --- a/xen/include/asm-x86/hvm/support.h Mon Mar 07 11:21:11 2011 +0000 +++ b/xen/include/asm-x86/hvm/support.h Mon Mar 07 11:21:11 2011 +0000 @@ -61,7 +61,7 @@ ## _a); \ } while (0) #else -#define HVM_DBG_LOG(level, _f, _a...) +#define HVM_DBG_LOG(level, _f, _a...) do {} while (0) #endif extern unsigned long hvm_io_bitmap[]; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |