diff options
Diffstat (limited to 'arch/mips/netlogic')
-rw-r--r-- | arch/mips/netlogic/common/smp.c | 4 | ||||
-rw-r--r-- | arch/mips/netlogic/common/smpboot.S | 4 | ||||
-rw-r--r-- | arch/mips/netlogic/common/time.c | 2 | ||||
-rw-r--r-- | arch/mips/netlogic/xlr/wakeup.c | 2 |
4 files changed, 4 insertions, 8 deletions
diff --git a/arch/mips/netlogic/common/smp.c b/arch/mips/netlogic/common/smp.c index 885d293b61da..4e35d9c453e2 100644 --- a/arch/mips/netlogic/common/smp.c +++ b/arch/mips/netlogic/common/smp.c | |||
@@ -116,7 +116,7 @@ void nlm_early_init_secondary(int cpu) | |||
116 | /* | 116 | /* |
117 | * Code to run on secondary just after probing the CPU | 117 | * Code to run on secondary just after probing the CPU |
118 | */ | 118 | */ |
119 | static void __cpuinit nlm_init_secondary(void) | 119 | static void nlm_init_secondary(void) |
120 | { | 120 | { |
121 | int hwtid; | 121 | int hwtid; |
122 | 122 | ||
@@ -252,7 +252,7 @@ unsupp: | |||
252 | return 0; | 252 | return 0; |
253 | } | 253 | } |
254 | 254 | ||
255 | int __cpuinit nlm_wakeup_secondary_cpus(void) | 255 | int nlm_wakeup_secondary_cpus(void) |
256 | { | 256 | { |
257 | u32 *reset_data; | 257 | u32 *reset_data; |
258 | int threadmode; | 258 | int threadmode; |
diff --git a/arch/mips/netlogic/common/smpboot.S b/arch/mips/netlogic/common/smpboot.S index 528c46c5a170..aa6cff0a229b 100644 --- a/arch/mips/netlogic/common/smpboot.S +++ b/arch/mips/netlogic/common/smpboot.S | |||
@@ -70,7 +70,6 @@ FEXPORT(xlp_boot_core0_siblings) /* "Master" cpu starts from here */ | |||
70 | nop | 70 | nop |
71 | /* not reached */ | 71 | /* not reached */ |
72 | 72 | ||
73 | __CPUINIT | ||
74 | NESTED(nlm_boot_secondary_cpus, 16, sp) | 73 | NESTED(nlm_boot_secondary_cpus, 16, sp) |
75 | /* Initialize CP0 Status */ | 74 | /* Initialize CP0 Status */ |
76 | move t1, zero | 75 | move t1, zero |
@@ -94,7 +93,6 @@ NESTED(nlm_boot_secondary_cpus, 16, sp) | |||
94 | jr t0 | 93 | jr t0 |
95 | nop | 94 | nop |
96 | END(nlm_boot_secondary_cpus) | 95 | END(nlm_boot_secondary_cpus) |
97 | __FINIT | ||
98 | 96 | ||
99 | /* | 97 | /* |
100 | * In case of RMIboot bootloader which is used on XLR boards, the CPUs | 98 | * In case of RMIboot bootloader which is used on XLR boards, the CPUs |
@@ -102,7 +100,6 @@ END(nlm_boot_secondary_cpus) | |||
102 | * This will get them out of the bootloader code and into linux. Needed | 100 | * This will get them out of the bootloader code and into linux. Needed |
103 | * because the bootloader area will be taken and initialized by linux. | 101 | * because the bootloader area will be taken and initialized by linux. |
104 | */ | 102 | */ |
105 | __CPUINIT | ||
106 | NESTED(nlm_rmiboot_preboot, 16, sp) | 103 | NESTED(nlm_rmiboot_preboot, 16, sp) |
107 | mfc0 t0, $15, 1 /* read ebase */ | 104 | mfc0 t0, $15, 1 /* read ebase */ |
108 | andi t0, 0x1f /* t0 has the processor_id() */ | 105 | andi t0, 0x1f /* t0 has the processor_id() */ |
@@ -140,4 +137,3 @@ NESTED(nlm_rmiboot_preboot, 16, sp) | |||
140 | b 1b | 137 | b 1b |
141 | nop | 138 | nop |
142 | END(nlm_rmiboot_preboot) | 139 | END(nlm_rmiboot_preboot) |
143 | __FINIT | ||
diff --git a/arch/mips/netlogic/common/time.c b/arch/mips/netlogic/common/time.c index 5c56555380bb..045a396c57ce 100644 --- a/arch/mips/netlogic/common/time.c +++ b/arch/mips/netlogic/common/time.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #error "Unknown CPU" | 54 | #error "Unknown CPU" |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | unsigned int __cpuinit get_c0_compare_int(void) | 57 | unsigned int get_c0_compare_int(void) |
58 | { | 58 | { |
59 | return IRQ_TIMER; | 59 | return IRQ_TIMER; |
60 | } | 60 | } |
diff --git a/arch/mips/netlogic/xlr/wakeup.c b/arch/mips/netlogic/xlr/wakeup.c index c06e4c9f0478..9fb81fa6272a 100644 --- a/arch/mips/netlogic/xlr/wakeup.c +++ b/arch/mips/netlogic/xlr/wakeup.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <asm/netlogic/xlr/iomap.h> | 49 | #include <asm/netlogic/xlr/iomap.h> |
50 | #include <asm/netlogic/xlr/pic.h> | 50 | #include <asm/netlogic/xlr/pic.h> |
51 | 51 | ||
52 | int __cpuinit xlr_wakeup_secondary_cpus(void) | 52 | int xlr_wakeup_secondary_cpus(void) |
53 | { | 53 | { |
54 | struct nlm_soc_info *nodep; | 54 | struct nlm_soc_info *nodep; |
55 | unsigned int i, j, boot_cpu; | 55 | unsigned int i, j, boot_cpu; |