patch-2.1.38 linux/arch/sparc/prom/segment.c
Next file: linux/arch/sparc/prom/tree.c
Previous file: linux/arch/sparc/prom/mp.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed May 14 15:01:20 1997
- Orig file:
v2.1.37/linux/arch/sparc/prom/segment.c
- Orig date:
Tue May 13 22:41:04 1997
diff -u --recursive --new-file v2.1.37/linux/arch/sparc/prom/segment.c linux/arch/sparc/prom/segment.c
@@ -1,4 +1,4 @@
-/* $Id: segment.c,v 1.4 1997/05/01 01:41:33 davem Exp $
+/* $Id: segment.c,v 1.5 1997/05/14 20:45:02 davem Exp $
* segment.c: Prom routine to map segments in other contexts before
* a standalone is completely mapped. This is for sun4 and
* sun4c architectures only.
@@ -11,6 +11,9 @@
#include <linux/sched.h>
#include <asm/openprom.h>
#include <asm/oplib.h>
+
+/* XXX Let's get rid of this thing if we can... */
+extern struct task_struct *current_set[NR_CPUS];
/* Set physical segment 'segment' at virtual address 'vaddr' in
* context 'ctx'.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov