WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix Xen to build with gcc-4.1.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 14d733e5e1d014e302d72fb78df1428ee08e3ce3
# Parent  6cc603ac3f38f8f4b760899e963ef8165ae0c8ee
Fix Xen to build with gcc-4.1.

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r 6cc603ac3f38 -r 14d733e5e1d0 xen/include/asm-x86/apic.h
--- a/xen/include/asm-x86/apic.h        Wed Nov 23 13:14:01 2005
+++ b/xen/include/asm-x86/apic.h        Wed Nov 23 13:15:35 2005
@@ -43,7 +43,7 @@
 
 static __inline void apic_write_atomic(unsigned long reg, u32 v)
 {
-       xchg((volatile u32 *)(APIC_BASE+reg), v);
+       (void)xchg((volatile u32 *)(APIC_BASE+reg), v);
 }
 
 static __inline u32 apic_read(unsigned long reg)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>