Skip to contentSkip to conversation

alpha __init fixes

PATCH New Al Viro 1 participant 1 message Jul 17, 2007 Alpha port

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 alpha __init fixes

__init and __initdata stuff used from __devinit one

---
 arch/alpha/kernel/smp.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/alpha/kernel/smp.c +3 -3
index 80cfb75..b287314 100644
@@ -65,7 +65,7 @@ enum ipi_message_type {
 };
 
 /* 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.  */
 cpumask_t cpu_online_map;
@@ -173,7 +173,7 @@ smp_callin(void)
 }
 
 /* Wait until hwrpb->txrdy is clear for cpu.  Return -1 on timeout.  */
-static int __init
+static int __devinit
 wait_for_txrdy (unsigned long cpumask)
 {
 	unsigned long timeout;
@@ -358,7 +358,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle)
 /*
  * Bring one cpu online.
  */
-static int __init
+static int __devinit
 smp_boot_one_cpu(int cpuid)
 {
 	struct task_struct *idle;
Signature · 1 line
1.5.3.GIT