patch-2.1.37 linux/arch/sparc/prom/tree.c
Next file: linux/arch/sparc64/kernel/entry.S
Previous file: linux/arch/sparc/prom/segment.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon May 12 10:35:39 1997
- Orig file:
v2.1.36/linux/arch/sparc/prom/tree.c
- Orig date:
Thu Mar 27 14:40:00 1997
diff -u --recursive --new-file v2.1.36/linux/arch/sparc/prom/tree.c linux/arch/sparc/prom/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.16 1997/03/19 14:53:16 davem Exp $
+/* $Id: tree.c,v 1.17 1997/05/01 01:41:33 davem Exp $
* tree.c: Basic device tree traversal/scanning for the Linux
* prom library.
*
@@ -18,7 +18,7 @@
/* Macro to restore "current" to the g6 register. */
#define restore_current() __asm__ __volatile__("ld [%0], %%g6\n\t" : : \
- "r" (¤t_set[smp_processor_id()]) : \
+ "r" (¤t_set[hard_smp_processor_id()]) : \
"memory")
static char promlib_buf[128];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov