aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/netlogic/common/smpboot.S')
-rw-r--r--arch/mips/netlogic/common/smpboot.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/netlogic/common/smpboot.S b/arch/mips/netlogic/common/smpboot.S
index 805355b0bd05..f0cc4c9de2bb 100644
--- a/arch/mips/netlogic/common/smpboot.S
+++ b/arch/mips/netlogic/common/smpboot.S
@@ -48,8 +48,6 @@
48#include <asm/netlogic/xlp-hal/sys.h> 48#include <asm/netlogic/xlp-hal/sys.h>
49#include <asm/netlogic/xlp-hal/cpucontrol.h> 49#include <asm/netlogic/xlp-hal/cpucontrol.h>
50 50
51#define CP0_EBASE $15
52
53 .set noreorder 51 .set noreorder
54 .set noat 52 .set noat
55 .set arch=xlr /* for mfcr/mtcr, XLR is sufficient */ 53 .set arch=xlr /* for mfcr/mtcr, XLR is sufficient */
@@ -86,7 +84,7 @@ NESTED(nlm_boot_secondary_cpus, 16, sp)
86 PTR_L gp, 0(t1) 84 PTR_L gp, 0(t1)
87 85
88 /* a0 has the processor id */ 86 /* a0 has the processor id */
89 mfc0 a0, CP0_EBASE, 1 87 mfc0 a0, CP0_EBASE
90 andi a0, 0x3ff /* a0 <- node/core */ 88 andi a0, 0x3ff /* a0 <- node/core */
91 PTR_LA t0, nlm_early_init_secondary 89 PTR_LA t0, nlm_early_init_secondary
92 jalr t0 90 jalr t0