Skip to contentSkip to conversation

false __cpuinit positives on alpha

PATCH Applied Al Viro 1 participant 1 message Nov 22, 2008 Alpha port

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 2/32 false __cpuinit positives on alpha

pure noise - alpha doesn't have CPU hotplug

---
 arch/alpha/kernel/smp.c   |    6 +++---
 arch/alpha/kernel/traps.c |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
arch/alpha/kernel/smp.c +3 -3
@@ -121,7 +121,7 @@ wait_boot_cpu_to_stop(int cpuid)
 /*
  * Where secondaries begin a life of C.
  */
-void __init
+void __cpuinit
 smp_callin(void)
 {
 	int cpuid = hard_smp_processor_id();
@@ -198,7 +198,7 @@ wait_for_txrdy (unsigned long cpumask)
  * Send a message to a secondary's console.  "START" is one such
  * interesting message.  ;-)
  */
-static void __init
+static void __cpuinit
 send_secondary_console_msg(char *str, int cpuid)
 {
 	struct percpu_struct *cpu;
@@ -289,7 +289,7 @@ recv_secondary_console_msg(void)
 /*
  * Convince the console to have a secondary cpu begin execution.
  */
-static int __init
+static int __cpuinit
 secondary_cpu_start(int cpuid, struct task_struct *idle)
 {
 	struct percpu_struct *cpu;
arch/alpha/kernel/traps.c +2 -2
@@ -31,7 +31,7 @@
 
 static int opDEC_fix;
 
-static void __init
+static void __cpuinit
 opDEC_check(void)
 {
 	__asm__ __volatile__ (
@@ -1072,7 +1072,7 @@ give_sigbus:
 	return;
 }
 
-void __init
+void __cpuinit
 trap_init(void)
 {
 	/* Tell PAL-code what global pointer we want in the kernel.  */