patch-2.2.13 linux/kernel/sched.c
Next file: linux/kernel/signal.c
Previous file: linux/kernel/printk.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Oct 19 17:14:02 1999
- Orig file:
v2.2.12/linux/kernel/sched.c
- Orig date:
Mon May 10 09:55:21 1999
diff -u --recursive --new-file v2.2.12/linux/kernel/sched.c linux/kernel/sched.c
@@ -322,7 +322,7 @@
int this_cpu = smp_processor_id();
struct task_struct *tsk;
- tsk = cpu_curr(this_cpu);
+ tsk = current;
if (preemption_goodness(tsk, p, this_cpu) > 0)
tsk->need_resched = 1;
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)