Create asm-x86_64/cmpxchg.h
Subsystems (2)
PATCH 3/6 Create asm-x86_64/cmpxchg.h
This is the x86_64 movement of cmpxchg into its own header. atomic.h already included system.h, so this is changed to include cmpxchg.h.
This is purely cleanup - it's not fixing any warnings - so if the x86_64 system.h isn't considered as cleanup-worthy as i386, then this can be dropped.
It causes no noticable damage to the x86_64 build.
--
include/asm-x86_64/atomic.h | 2 include/asm-x86_64/cmpxchg.h | 134 +++++++++++++++++++++++++++++++++++++++++++ include/asm-x86_64/system.h | 130 ----------------------------------------- 3 files changed, 136 insertions(+), 130 deletions(-)
include/asm-x86_64/atomic.h +1 -1
@@ -2,7 +2,7 @@#define __ARCH_X86_64_ATOMIC__#include <asm/alternative.h> -#include <asm/system.h> +#include <asm/cmpxchg.h> /* atomic_t should be 32 bit signed type */
include/asm-x86_64/cmpxchg.h new file +134 -0
134 lines not on this page · raw message
include/asm-x86_64/system.h +1 -129
142 lines not on this page · raw message
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel