patch-2.1.19 linux/include/linux/sched.h
Next file: linux/include/linux/uio.h
Previous file: linux/include/linux/ncp.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Dec 31 14:09:19 1996
- Orig file:
v2.1.18/linux/include/linux/sched.h
- Orig date:
Sun Dec 22 16:37:41 1996
diff -u --recursive --new-file v2.1.18/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -317,12 +317,9 @@
extern struct task_struct init_task;
extern struct task_struct *task[NR_TASKS];
extern struct task_struct *last_task_used_math;
-extern struct task_struct *current_set[NR_CPUS];
-/*
- * On a single processor system this comes out as current_set[0] when cpp
- * has finished with it, which gcc will optimise away.
- */
-#define current (current_set[smp_processor_id()]) /* Current on this processor */
+
+#include <asm/current.h>
+
extern unsigned long volatile jiffies;
extern unsigned long itimer_ticks;
extern unsigned long itimer_next;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov