patch-2.3.99-pre7 linux/include/asm-sparc/winmacro.h
Next file: linux/include/asm-sparc64/asm_offsets.h
Previous file: linux/include/asm-sparc/system.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-sparc/winmacro.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-sparc/winmacro.h linux/include/asm-sparc/winmacro.h
@@ -7,6 +7,7 @@
#ifndef _SPARC_WINMACRO_H
#define _SPARC_WINMACRO_H
+#include <linux/config.h>
#include <asm/ptrace.h>
#include <asm/psr.h>
@@ -111,7 +112,7 @@
add %scratch, 1, %scratch; \
st %scratch, [%cur_reg + AOFF_task_thread + AOFF_thread_w_saved];
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define LOAD_CURRENT4M(dest_reg, idreg) \
rd %tbr, %idreg; \
sethi %hi(C_LABEL(current_set)), %dest_reg; \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)