bitkeeper revision 1.1236.1.44 (4224f156AyEV3oV5JinuYtfS9e_ITA)

Rationalise memory-barrier definitions in user-space tools.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@scramble.cl.cam.ac.uk committed 2005-03-01 22:48:54 +00:00
1 parent 573027638d
commit 072f03be95
4 files changed
+22 -37

No files matched your search

-8
View File
@@ -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. */
/*
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.