From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrei Petrov Subject: [PATCH} xu.c cleanup Date: Fri, 25 Feb 2005 15:02:09 -0800 Message-ID: <20050225230209.GE6489@liz.veritas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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