ia64/xen-unstable
changeset 8005:14d733e5e1d0
Fix Xen to build with gcc-4.1.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Wed Nov 23 14:15:35 2005 +0100 (2005-11-23) |
parents | 6cc603ac3f38 |
children | ef449cd53cca 7363637e2721 |
files | xen/include/asm-x86/apic.h |
line diff
1.1 --- a/xen/include/asm-x86/apic.h Wed Nov 23 14:14:01 2005 +0100 1.2 +++ b/xen/include/asm-x86/apic.h Wed Nov 23 14:15:35 2005 +0100 1.3 @@ -43,7 +43,7 @@ static __inline void apic_write(unsigned 1.4 1.5 static __inline void apic_write_atomic(unsigned long reg, u32 v) 1.6 { 1.7 - xchg((volatile u32 *)(APIC_BASE+reg), v); 1.8 + (void)xchg((volatile u32 *)(APIC_BASE+reg), v); 1.9 } 1.10 1.11 static __inline u32 apic_read(unsigned long reg)