00001 00007 #ifndef _ASM_STUB_CMPXCHG_H 00008 #define _ASM_STUB_CMPXCHG_H 00009 00010 #if defined(__i386__) 00011 #include "x86/cmpxchg.h" 00012 #elif defined(__x86_64__) 00013 #include "x86_64/cmpxchg.h" 00014 #elif defined(__ia64__) 00015 #include "ia64/cmpxchg.h" 00016 #else 00017 #warning This machine does not have support for cmpxch; locking will most likely not work. 00018 #undef HAVE_CMPXCHG 00019 #endif 00020 00021 #endif /* _ASM_STUB_CMPXCHG_H */ 00022