patch-2.3.99-pre7 linux/arch/sparc/lib/rwsem.S
Next file: linux/arch/sparc/mm/btfixup.c
Previous file: linux/arch/sparc/lib/bitops.S
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/arch/sparc/lib/rwsem.S
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/arch/sparc/lib/rwsem.S linux/arch/sparc/lib/rwsem.S
@@ -4,6 +4,7 @@
* Copyright (C) 1999 Jakub Jelinek (jakub@redhat.com)
*/
+#include <linux/config.h>
#include <asm/ptrace.h>
#include <asm/psr.h>
@@ -21,7 +22,7 @@
nop
nop
nop
-#ifdef __SMP__
+#ifdef CONFIG_SMP
1: ldstub [%g1 + 4], %g7
tst %g7
bne 1b
@@ -72,7 +73,7 @@
sethi %hi(0x01000000), %g2
nop
nop
-#ifdef __SMP__
+#ifdef CONFIG_SMP
1: ldstub [%g1 + 4], %g7
tst %g7
bne 1b
@@ -123,7 +124,7 @@
nop
nop
nop
-#ifdef __SMP__
+#ifdef CONFIG_SMP
1: ldstub [%g1 + 4], %g7
tst %g7
bne 1b
@@ -168,7 +169,7 @@
sethi %hi(0x01000000), %g2
nop
nop
-#ifdef __SMP__
+#ifdef CONFIG_SMP
1: ldstub [%g1 + 4], %g7
tst %g7
bne 1b
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)