patch-2.4.20 linux-2.4.20/include/asm-sparc64/smp.h
Next file: linux-2.4.20/include/asm-sparc64/socket.h
Previous file: linux-2.4.20/include/asm-sparc64/semaphore.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-sparc64/smp.h
- Orig date:
Fri Dec 21 09:42:03 2001
diff -urN linux-2.4.19/include/asm-sparc64/smp.h linux-2.4.20/include/asm-sparc64/smp.h
@@ -86,7 +86,7 @@
extern __inline__ int hard_smp_processor_id(void)
{
- if (tlb_type == cheetah) {
+ if (tlb_type == cheetah || tlb_type == cheetah_plus) {
unsigned long safari_config;
__asm__ __volatile__("ldxa [%%g0] %1, %0"
: "=r" (safari_config)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)