MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
[firefly-linux-kernel-4.4.55.git] / arch / mips / netlogic / common / smpboot.S
index 805355b0bd05d4b6d7de3493c2cbf446c737235d..f0cc4c9de2bbcdc655b861f189f16bebb9ea7d8b 100644 (file)
@@ -48,8 +48,6 @@
 #include <asm/netlogic/xlp-hal/sys.h>
 #include <asm/netlogic/xlp-hal/cpucontrol.h>
 
-#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