diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/xics/ics-rtas.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 793401e65088..76bd9da8cb71 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -610,7 +610,7 @@ static struct device_node *cpu_to_l2cache(int cpu) | |||
610 | } | 610 | } |
611 | 611 | ||
612 | /* Activate a secondary processor. */ | 612 | /* Activate a secondary processor. */ |
613 | void start_secondary(void *unused) | 613 | __cpuinit void start_secondary(void *unused) |
614 | { | 614 | { |
615 | unsigned int cpu = smp_processor_id(); | 615 | unsigned int cpu = smp_processor_id(); |
616 | struct device_node *l2_cache; | 616 | struct device_node *l2_cache; |
diff --git a/arch/powerpc/sysdev/xics/ics-rtas.c b/arch/powerpc/sysdev/xics/ics-rtas.c index c782f85cf7e4..936575d99c5c 100644 --- a/arch/powerpc/sysdev/xics/ics-rtas.c +++ b/arch/powerpc/sysdev/xics/ics-rtas.c | |||
@@ -213,7 +213,7 @@ static int ics_rtas_host_match(struct ics *ics, struct device_node *node) | |||
213 | return !of_device_is_compatible(node, "chrp,iic"); | 213 | return !of_device_is_compatible(node, "chrp,iic"); |
214 | } | 214 | } |
215 | 215 | ||
216 | int ics_rtas_init(void) | 216 | __init int ics_rtas_init(void) |
217 | { | 217 | { |
218 | ibm_get_xive = rtas_token("ibm,get-xive"); | 218 | ibm_get_xive = rtas_token("ibm,get-xive"); |
219 | ibm_set_xive = rtas_token("ibm,set-xive"); | 219 | ibm_set_xive = rtas_token("ibm,set-xive"); |