All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: fix section mismatch in reference from native_play_dead
@ 2011-02-03 13:13 Sergey Senozhatsky
  2011-02-14 12:25 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Senozhatsky @ 2011-02-03 13:13 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Ingo Molnar, H. Peter Anvin, x86, Tejun Heo, Borislav Petkov,
	Suresh Siddha, linux-kernel

Fix 

WARNING: arch/x86/kernel/built-in.o(.text+0x19cde): Section mismatch in reference from 
the function native_play_dead() to the function .cpuinit.text:mwait_usable()
The function native_play_dead() references the function __cpuinit mwait_usable().


Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>

---

 arch/x86/kernel/smpboot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 0cbe8c0..0b8c6c9 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1467,7 +1467,7 @@ static inline void hlt_play_dead(void)
 	}
 }
 
-void native_play_dead(void)
+void __cpuinit native_play_dead(void)
 {
 	play_dead_common();
 	tboot_shutdown(TB_SHUTDOWN_WFS);


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-14 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 13:13 [PATCH] x86: fix section mismatch in reference from native_play_dead Sergey Senozhatsky
2011-02-14 12:25 ` Ingo Molnar
2011-02-14 12:32   ` Sergey Senozhatsky
2011-02-14 13:32     ` Borislav Petkov
2011-02-14 13:52       ` Sergey Senozhatsky
2011-02-14 14:21         ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.