patch-2.3.99-pre6 linux/arch/i386/kernel/entry.S
Next file: linux/arch/i386/kernel/head.S
Previous file: linux/arch/i386/kernel/apic.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Apr 24 13:39:34 2000
- Orig file:
v2.3.99-pre5/linux/arch/i386/kernel/entry.S
- Orig date:
Mon Mar 27 08:08:21 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -40,6 +40,7 @@
* "current" is in register %ebx during any slow entries.
*/
+#include <linux/config.h>
#include <linux/sys.h>
#include <linux/linkage.h>
#include <asm/segment.h>
@@ -201,7 +202,7 @@
call *SYMBOL_NAME(sys_call_table)(,%eax,4)
movl %eax,EAX(%esp) # save the return value
ENTRY(ret_from_sys_call)
-#ifdef __SMP__
+#ifdef CONFIG_SMP
movl processor(%ebx),%eax
shll $5,%eax
movl SYMBOL_NAME(softirq_state)(,%eax),%ecx
@@ -256,7 +257,7 @@
ALIGN
ret_from_exception:
-#ifdef __SMP__
+#ifdef CONFIG_SMP
GET_CURRENT(%ebx)
movl processor(%ebx),%eax
shll $5,%eax
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)