patch-2.3.99-pre7 linux/include/asm-sparc64/processor.h
Next file: linux/include/asm-sparc64/smp.h
Previous file: linux/include/asm-sparc64/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/include/asm-sparc64/processor.h
- Orig date:
Tue Apr 11 15:09:24 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-sparc64/processor.h linux/include/asm-sparc64/processor.h
@@ -13,6 +13,7 @@
*/
#define current_text_addr() ({ void *pc; __asm__("rd %%pc, %0" : "=r" (pc)); pc; })
+#include <linux/config.h>
#include <asm/asi.h>
#include <asm/a.out.h>
#include <asm/pstate.h>
@@ -127,7 +128,7 @@
}
/* On Uniprocessor, even in RMO processes see TSO semantics */
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define TSTATE_INITIAL_MM TSTATE_TSO
#else
#define TSTATE_INITIAL_MM TSTATE_RMO
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)