From: Kevin Winchester <kjwinchester@gmail.com>
To: jbaron@redhat.com, rostedt@goodmis.org, tglx@linutronix.de,
mingo@redhat.com, hpa@zytor.com
Cc: Kevin Winchester <kjwinchester@gmail.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] x86: jump_label: arch_jump_label_text_poke_early: add missing __init
Date: Tue, 16 Aug 2011 21:04:38 -0300 [thread overview]
Message-ID: <1313539478-30303-1-git-send-email-kjwinchester@gmail.com> (raw)
arch_jump_label_text_poke_early calls text_poke_early, which is
an __init function. Thus arch_jump_label_text_poke_early should
be the same.
Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
---
arch/x86/kernel/jump_label.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/jump_label.c b/arch/x86/kernel/jump_label.c
index 3fee346..5b3dbf7 100644
--- a/arch/x86/kernel/jump_label.c
+++ b/arch/x86/kernel/jump_label.c
@@ -42,7 +42,7 @@ void arch_jump_label_transform(struct jump_entry *entry,
put_online_cpus();
}
-void arch_jump_label_text_poke_early(jump_label_t addr)
+void __init arch_jump_label_text_poke_early(jump_label_t addr)
{
text_poke_early((void *)addr, ideal_nops[NOP_ATOMIC5],
JUMP_LABEL_NOP_SIZE);
--
1.7.6
next reply other threads:[~2011-08-17 0:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 0:04 Kevin Winchester [this message]
2011-08-19 18:20 ` Steven Rostedt
2011-08-19 20:51 ` Kevin Winchester
2011-08-19 21:13 ` Steven Rostedt
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=1313539478-30303-1-git-send-email-kjwinchester@gmail.com \
--to=kjwinchester@gmail.com \
--cc=hpa@zytor.com \
--cc=jbaron@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®