From: Luck, Tony on
WARNING: Section mismatch in reference from the function cpu_notify_nofail()
to the variable

It appears that "cpu_chain" should not be marked as __cpuinitdata.

Signed-off-by: Tony Luck <tony.luck(a)>


diff --git a/kernel/cpu.c b/kernel/cpu.c
index 3097382..84d66a0 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -34,7 +34,7 @@ void cpu_maps_update_done(void)

-static __cpuinitdata RAW_NOTIFIER_HEAD(cpu_chain);
+static RAW_NOTIFIER_HEAD(cpu_chain);

/* If set, cpu_up and cpu_down will return -EBUSY and do nothing.
* Should always be manipulated under cpu_add_remove_lock
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at