patch-2.3.99-pre7 linux/arch/sparc64/kernel/process.c
Next file: linux/arch/sparc64/kernel/setup.c
Previous file: linux/arch/sparc64/kernel/pci_common.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/arch/sparc64/kernel/process.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/arch/sparc64/kernel/process.c linux/arch/sparc64/kernel/process.c
@@ -42,7 +42,7 @@
/* #define VERBOSE_SHOWREGS */
-#ifndef __SMP__
+#ifndef CONFIG_SMP
/*
* the idle loop on a Sparc... ;)
@@ -259,13 +259,13 @@
} while ((size -= sizeof(unsigned)));
}
-#ifdef __SMP__
+#ifdef CONFIG_SMP
static spinlock_t regdump_lock = SPIN_LOCK_UNLOCKED;
#endif
void __show_regs(struct pt_regs * regs)
{
-#ifdef __SMP__
+#ifdef CONFIG_SMP
unsigned long flags;
spin_lock_irqsave(®dump_lock, flags);
@@ -287,7 +287,7 @@
regs->u_regs[12], regs->u_regs[13], regs->u_regs[14],
regs->u_regs[15]);
show_regwindow(regs);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
spin_unlock_irqrestore(®dump_lock, flags);
#endif
}
@@ -317,7 +317,7 @@
extern long etrap, etraptl1;
#endif
__show_regs(regs);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
{
extern void smp_report_regs(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)