Skip to contentSkip to conversation

[PATCH} xu.c cleanup

PATCH Andrei Petrov 1 participant 1 message Feb 25, 2005 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

I don't see barriers used in there. Probably that's leftovers from something.

--Andrei Petrov

tools/python/xen/lowlevel/xu/xu.c +0 -8
diff -rup xeno/tools/python/xen/lowlevel/xu/xu.c XENX64/tools/python/xen/lowlevel/xu/xu.c
@@ -49,14 +49,6 @@
 /* Size of a machine page frame. */
 #define PAGE_SIZE 4096
 
-#if defined(__i386__)
-#define rmb() __asm__ __volatile__ ( "lock; addl $0,0(%%esp)" : : : "memory" )
-#define wmb() __asm__ __volatile__ ( "" : : : "memory" )
-#else
-#error "Define barriers"
-#endif
-
-
 /* Set the close-on-exec flag on a file descriptor.  Doesn't currently bother
  * to check for errors. */
 

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click