patch-2.4.26 linux-2.4.26/include/asm-i386/system.h
Next file: linux-2.4.26/include/asm-ia64/a.out.h
Previous file: linux-2.4.26/include/asm-i386/mpspec.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/include/asm-i386/system.h
- Orig date:
2003-08-25 04:44:43.000000000 -0700
diff -urN linux-2.4.25/include/asm-i386/system.h linux-2.4.26/include/asm-i386/system.h
@@ -238,6 +238,7 @@
#ifdef CONFIG_X86_CMPXCHG
#define __HAVE_ARCH_CMPXCHG 1
+#endif
static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
unsigned long new, int size)
@@ -270,10 +271,6 @@
((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o),\
(unsigned long)(n),sizeof(*(ptr))))
-#else
-/* Compiling for a 386 proper. Is it worth implementing via cli/sti? */
-#endif
-
/*
* Force strict CPU ordering.
* And yes, this is required on UP too when we're talking
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)