patch-2.4.10 linux/include/asm-mips/system.h
Next file: linux/include/asm-mips/termbits.h
Previous file: linux/include/asm-mips/string.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Sep 9 10:43:01 2001
- Orig file:
v2.4.9/linux/include/asm-mips/system.h
- Orig date:
Tue Jul 3 17:08:21 2001
diff -u --recursive --new-file v2.4.9/linux/include/asm-mips/system.h linux/include/asm-mips/system.h
@@ -206,7 +206,7 @@
*/
extern __inline__ unsigned long xchg_u32(volatile int * m, unsigned long val)
{
-#if defined(CONFIG_CPU_HAS_LLSC)
+#ifdef CONFIG_CPU_HAS_LLSC
unsigned long dummy;
__asm__ __volatile__(
@@ -233,7 +233,6 @@
*m = val;
restore_flags(flags);
return retval;
-
#endif /* Processor-dependent optimization */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)