compilation fix when crash_debug=y. PATCHNAME: gdbstub_compilation_fix Signed-off-by: Isaku Yamahata diff -r 82f50da600d3 xen/include/asm-ia64/linux-xen/asm/atomic.h --- a/xen/include/asm-ia64/linux-xen/asm/atomic.h Mon Oct 30 16:55:36 2006 +0900 +++ b/xen/include/asm-ia64/linux-xen/asm/atomic.h Mon Oct 30 16:55:36 2006 +0900 @@ -23,8 +23,13 @@ typedef struct { volatile __s32 counter; typedef struct { volatile __s32 counter; } atomic_t; typedef struct { volatile __s64 counter; } atomic64_t; +#ifndef XEN #define ATOMIC_INIT(i) ((atomic_t) { (i) }) #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) +#else +#define ATOMIC_INIT(i) { (i) } +#define ATOMIC64_INIT(i) { (i) } +#endif #define atomic_read(v) ((v)->counter) #define atomic64_read(v) ((v)->counter)