* [PATCH} xu.c cleanup
@ 2005-02-25 23:02 Andrei Petrov
0 siblings, 0 replies; only message in thread
From: Andrei Petrov @ 2005-02-25 23:02 UTC (permalink / raw)
To: xen-devel
I don't see barriers used in there. Probably that's leftovers from something.
--Andrei Petrov
diff -rup xeno/tools/python/xen/lowlevel/xu/xu.c XENX64/tools/python/xen/lowlevel/xu/xu.c
--- xen/tools/python/xen/lowlevel/xu/xu.c 2005-02-02 12:52:55.000000000 -0800
+++ XENX64/tools/python/xen/lowlevel/xu/xu.c 2005-02-25 14:51:36.000000000 -0800
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-25 23:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25 23:02 [PATCH} xu.c cleanup Andrei Petrov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.