patch-2.1.37 linux/arch/sparc/prom/devops.c
Next file: linux/arch/sparc/prom/misc.c
Previous file: linux/arch/sparc/prom/devmap.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Mon May 12 10:35:38 1997
- Orig file:
v2.1.36/linux/arch/sparc/prom/devops.c
- Orig date:
Thu Mar 27 14:40:00 1997
diff -u --recursive --new-file v2.1.36/linux/arch/sparc/prom/devops.c linux/arch/sparc/prom/devops.c
@@ -1,4 +1,4 @@
-/* $Id: devops.c,v 1.7 1997/03/18 17:58:19 jj Exp $
+/* $Id: devops.c,v 1.8 1997/05/01 01:41:31 davem Exp $
* devops.c: Device operations using the PROM.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -35,7 +35,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);
@@ -60,7 +60,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);
return 0;
@@ -86,7 +86,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