patch-2.1.79 linux/arch/sparc/kernel/process.c
Next file: linux/arch/sparc/kernel/ptrace.c
Previous file: linux/arch/sparc/kernel/muldiv.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Jan 12 15:15:43 1998
- Orig file:
v2.1.78/linux/arch/sparc/kernel/process.c
- Orig date:
Thu Sep 4 17:07:30 1997
diff -u --recursive --new-file v2.1.78/linux/arch/sparc/kernel/process.c linux/arch/sparc/kernel/process.c
@@ -1,4 +1,4 @@
-/* $Id: process.c,v 1.100 1997/08/10 04:49:23 davem Exp $
+/* $Id: process.c,v 1.102 1997/12/01 03:36:31 davem Exp $
* linux/arch/sparc/kernel/process.c
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -120,7 +120,7 @@
}
/* endless idle loop with no priority at all */
current->counter = -100;
- if(!smp_commenced || resched_needed())
+ if(!smp_commenced || need_resched)
schedule();
}
}
@@ -197,7 +197,9 @@
rw->ins[4], rw->ins[5], rw->ins[6], rw->ins[7]);
}
+#ifdef __SMP__
static spinlock_t sparc_backtrace_lock = SPIN_LOCK_UNLOCKED;
+#endif
void show_backtrace(void)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov