patch-2.1.37 linux/arch/sparc/prom/mp.c
Next file: linux/arch/sparc/prom/segment.c
Previous file: linux/arch/sparc/prom/misc.c
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Mon May 12 10:35:39 1997
- Orig file:
v2.1.36/linux/arch/sparc/prom/mp.c
- Orig date:
Thu Mar 27 14:40:00 1997
diff -u --recursive --new-file v2.1.36/linux/arch/sparc/prom/mp.c linux/arch/sparc/prom/mp.c
@@ -1,4 +1,4 @@
-/* $Id: mp.c,v 1.7 1997/03/18 17:58:23 jj Exp $
+/* $Id: mp.c,v 1.8 1997/05/01 01:41:32 davem Exp $
* mp.c: OpenBoot Prom Multiprocessor support routines. Don't call
* these on a UP or else you will halt and catch fire. ;)
*
@@ -36,7 +36,7 @@
break;
};
__asm__ __volatile__("ld [%0], %%g6\n\t" : :
- "r" (¤t_set[smp_processor_id()]) :
+ "r" (¤t_set[hard_smp_processor_id()]) :
"memory");
restore_flags(flags);
@@ -65,7 +65,7 @@
break;
};
__asm__ __volatile__("ld [%0], %%g6\n\t" : :
- "r" (¤t_set[smp_processor_id()]) :
+ "r" (¤t_set[hard_smp_processor_id()]) :
"memory");
restore_flags(flags);
@@ -94,7 +94,7 @@
break;
};
__asm__ __volatile__("ld [%0], %%g6\n\t" : :
- "r" (¤t_set[smp_processor_id()]) :
+ "r" (¤t_set[hard_smp_processor_id()]) :
"memory");
restore_flags(flags);
@@ -123,7 +123,7 @@
break;
};
__asm__ __volatile__("ld [%0], %%g6\n\t" : :
- "r" (¤t_set[smp_processor_id()]) :
+ "r" (¤t_set[hard_smp_processor_id()]) :
"memory");
restore_flags(flags);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov