X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Fmips%2Fnetlogic%2Fcommon%2Fsmpboot.S;fp=arch%2Fmips%2Fnetlogic%2Fcommon%2Fsmpboot.S;h=f0cc4c9de2bbcdc655b861f189f16bebb9ea7d8b;hb=127651058594cafc624cf63bd266a42a62dfefcf;hp=805355b0bd05d4b6d7de3493c2cbf446c737235d;hpb=2e4aff2405af6a4573299dee361a44903c9bb717;p=firefly-linux-kernel-4.4.55.git 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 @@ #include #include -#define CP0_EBASE $15 - .set noreorder .set noat .set arch=xlr /* for mfcr/mtcr, XLR is sufficient */ @@ -86,7 +84,7 @@ NESTED(nlm_boot_secondary_cpus, 16, sp) PTR_L gp, 0(t1) /* a0 has the processor id */ - mfc0 a0, CP0_EBASE, 1 + mfc0 a0, CP0_EBASE andi a0, 0x3ff /* a0 <- node/core */ PTR_LA t0, nlm_early_init_secondary jalr t0