From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Tejun Heo <tj@kernel.org>,
Borislav Petkov <borislav.petkov@amd.com>,
Suresh Siddha <suresh.b.siddha@intel.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] x86: fix section mismatch in reference from native_play_dead
Date: Thu, 3 Feb 2011 15:13:34 +0200 [thread overview]
Message-ID: <20110203131333.GA4161@swordfish.minsk.epam.com> (raw)
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);
next reply other threads:[~2011-02-03 13:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 13:13 Sergey Senozhatsky [this message]
2011-02-14 12:25 ` [PATCH] x86: fix section mismatch in reference from native_play_dead 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110203131333.GA4161@swordfish.minsk.epam.com \
--to=sergey.senozhatsky@gmail.com \
--cc=borislav.petkov@amd.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=suresh.b.siddha@intel.com \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.