Commit 1cfa1e8f authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 9715b8c7
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment