patch-2.1.37 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: 15
- Date:
Mon May 12 10:35:39 1997
- Orig file:
v2.1.36/linux/arch/sparc/prom/segment.c
- Orig date:
Sat Nov 9 00:12:30 1996
diff -u --recursive --new-file v2.1.36/linux/arch/sparc/prom/segment.c linux/arch/sparc/prom/segment.c
@@ -1,4 +1,4 @@
-/* $Id: segment.c,v 1.3 1996/09/19 20:27:28 davem Exp $
+/* $Id: segment.c,v 1.4 1997/05/01 01:41:33 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.
@@ -22,7 +22,7 @@
save_flags(flags); cli();
(*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment);
__asm__ __volatile__("ld [%0], %%g6\n\t" : :
- "r" (¤t_set[smp_processor_id()]) :
+ "r" (¤t_set[hard_smp_processor_id()]) :
"memory");
restore_flags(flags);
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov