patch-2.1.51 linux/arch/sparc/kernel/smp.c
Next file: linux/arch/sparc/kernel/sys_sunos.c
Previous file: linux/arch/sparc/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Aug 16 09:51:08 1997
- Orig file:
v2.1.50/linux/arch/sparc/kernel/smp.c
- Orig date:
Thu May 15 16:48:01 1997
diff -u --recursive --new-file v2.1.50/linux/arch/sparc/kernel/smp.c linux/arch/sparc/kernel/smp.c
@@ -87,7 +87,7 @@
#define SMP_PRINTK(x)
#endif
-static volatile int smp_commenced = 0;
+volatile int smp_commenced = 0;
static char smp_buf[512];
@@ -558,7 +558,7 @@
/* Reschedule call back. */
void smp_reschedule_irq(void)
{
- need_resched=1;
+ resched_force();
}
/* Running cross calls. */
@@ -623,7 +623,7 @@
if(--current->counter < 0) {
current->counter = 0;
- need_resched = 1;
+ resched_force();
}
spin_lock(&ticker_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov