patch-2.3.99-pre7 linux/arch/sparc64/kernel/time.c

Next file: linux/arch/sparc64/kernel/traps.c
Previous file: linux/arch/sparc64/kernel/sys_sunos32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/arch/sparc64/kernel/time.c linux/arch/sparc64/kernel/time.c
@@ -102,7 +102,7 @@
 	write_lock(&xtime_lock);
 
 	do {
-#ifndef __SMP__
+#ifndef CONFIG_SMP
 		if ((regs->tstate & TSTATE_PRIV) != 0)
 			sparc64_do_profile(regs->tpc, regs->u_regs[UREG_RETPC]);
 #endif
@@ -155,7 +155,7 @@
 	write_unlock(&xtime_lock);
 }
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 void timer_tick_interrupt(struct pt_regs *regs)
 {
 	write_lock(&xtime_lock);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)