LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix section mismatch cpu_notify_nofail() -> cpu_chain
@ 2010-05-28 17:45 Luck, Tony
  0 siblings, 0 replies; only message in thread
From: Luck, Tony @ 2010-05-28 17:45 UTC (permalink / raw
  To: linux-kernel

WARNING: Section mismatch in reference from the function cpu_notify_nofail()
         to the variable .cpuinit.data:cpu_chain
    
It appears that "cpu_chain" should not be marked as __cpuinitdata.
    
Signed-off-by: Tony Luck <tony.luck@intel.com>

---

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)
 	mutex_unlock(&cpu_add_remove_lock);
 }
 
-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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-28 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28 17:45 [PATCH] Fix section mismatch cpu_notify_nofail() -> cpu_chain Luck, Tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).