Commit cc040a8a authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

alpha __init fixes

__init and __initdata stuff used from __devinit one
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5072d5d5
...@@ -65,7 +65,7 @@ enum ipi_message_type { ...@@ -65,7 +65,7 @@ enum ipi_message_type {
}; };
/* Set to a secondary's cpuid when it comes online. */ /* Set to a secondary's cpuid when it comes online. */
static int smp_secondary_alive __initdata = 0; static int smp_secondary_alive __devinitdata = 0;
/* Which cpus ids came online. */ /* Which cpus ids came online. */
cpumask_t cpu_online_map; cpumask_t cpu_online_map;
...@@ -173,7 +173,7 @@ smp_callin(void) ...@@ -173,7 +173,7 @@ smp_callin(void)
} }
/* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */ /* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */
static int __init static int __devinit
wait_for_txrdy (unsigned long cpumask) wait_for_txrdy (unsigned long cpumask)
{ {
unsigned long timeout; unsigned long timeout;
...@@ -358,7 +358,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle) ...@@ -358,7 +358,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle)
/* /*
* Bring one cpu online. * Bring one cpu online.
*/ */
static int __init static int __devinit
smp_boot_one_cpu(int cpuid) smp_boot_one_cpu(int cpuid)
{ {
struct task_struct *idle; struct task_struct *idle;
......
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