From: Paul Mundt Date: Mon, 26 Apr 2010 09:55:01 +0000 (+0900) Subject: sh: flag smp_store_cpu_info() __cpuinit. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cfa1e8f2c824b131612c9a70b48433998237331;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sh: flag smp_store_cpu_info() __cpuinit. smp_store_cpu_info() is presently flagged as __init, but is called by start_secondary() which is __cpuinit, fix it up. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 4d27597c5da8..3711a76a18e0 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c @@ -44,7 +44,7 @@ void __cpuinit register_smp_ops(struct plat_smp_ops *ops) mp_ops = ops; } -static inline void __init smp_store_cpu_info(unsigned int cpu) +static inline void __cpuinit smp_store_cpu_info(unsigned int cpu) { struct sh_cpuinfo *c = cpu_data + cpu; @@ -66,7 +66,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) #endif } -void __devinit smp_prepare_boot_cpu(void) +void __init smp_prepare_boot_cpu(void) { unsigned int cpu = smp_processor_id();