patch-1.3.38 linux/arch/i386/kernel/process.c

Next file: linux/arch/i386/kernel/setup.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -8,7 +8,6 @@
  * This file handles the architecture-dependent parts of process handling..
  */
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
@@ -52,7 +51,7 @@
 	/*	printk("Wrong process idled\n");	SMP bug check */
 		return -EPERM;
 	}
-#ifdef CONFIG_SMP
+#ifdef __SMP__
 	/*
 	 *	SMP locking sanity checker
 	 */
@@ -77,7 +76,7 @@
 	/* endless idle loop with no priority at all */
 	current->counter = -100;
 	for (;;) {
-#ifdef CONFIG_SMP
+#ifdef __SMP__
 		if (cpu_data[smp_processor_id()].hlt_works_ok && !hlt_counter && !need_resched)
 #else	
 		if (hlt_works_ok && !hlt_counter && !need_resched)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this