From: tip-bot for Sergey Senozhatsky <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: peterz@infradead.org, linux-kernel@vger.kernel.org, bp@alien8.de,
mingo@kernel.org, luto@kernel.org, hpa@zytor.com,
sergey.senozhatsky@gmail.com, tglx@linutronix.de,
sergey.senozhatsky.work@gmail.com
Subject: [tip:x86/cleanups] x86/fpu: Move init_xstate_size() to __init section
Date: Fri, 8 Feb 2019 05:39:16 -0800 [thread overview]
Message-ID: <tip-653a561bb2fd34e470594eb1bdba3357630e8df7@git.kernel.org> (raw)
In-Reply-To: <20190108130225.5066-2-sergey.senozhatsky@gmail.com>
Commit-ID: 653a561bb2fd34e470594eb1bdba3357630e8df7
Gitweb: https://git.kernel.org/tip/653a561bb2fd34e470594eb1bdba3357630e8df7
Author: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
AuthorDate: Tue, 8 Jan 2019 22:02:25 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 8 Feb 2019 14:32:34 +0100
x86/fpu: Move init_xstate_size() to __init section
WARNING: vmlinux.o(.text.unlikely+0x1c05): Section mismatch in
reference from the function init_xstate_size() to the
function .init.text:get_xsave_size()
WARNING: vmlinux.o(.text.unlikely+0x1c19): Section mismatch in
reference from the function init_xstate_size() to the
function .init.text:get_xsaves_size()
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H . Peter Anvin" <hpa@zytor.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Link: https://lkml.kernel.org/r/20190108130225.5066-2-sergey.senozhatsky@gmail.com
---
arch/x86/kernel/fpu/xstate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
index 9cc108456d0b..d7432c2b1051 100644
--- a/arch/x86/kernel/fpu/xstate.c
+++ b/arch/x86/kernel/fpu/xstate.c
@@ -669,7 +669,7 @@ static bool is_supported_xstate_size(unsigned int test_xstate_size)
return false;
}
-static int init_xstate_size(void)
+static int __init init_xstate_size(void)
{
/* Recompute the context size for enabled features: */
unsigned int possible_xstate_size;
next prev parent reply other threads:[~2019-02-08 13:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-08 13:02 [PATCH] x86/cpu_entry_area: move percpu_setup_debug_store() to __init section Sergey Senozhatsky
2019-01-08 13:02 ` [PATCH] x86/fpu: move init_xstate_size() " Sergey Senozhatsky
2019-02-08 13:39 ` tip-bot for Sergey Senozhatsky [this message]
2019-02-08 13:38 ` [tip:x86/cleanups] x86/cpu_entry_area: Move percpu_setup_debug_store() " tip-bot for Sergey Senozhatsky
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=tip-653a561bb2fd34e470594eb1bdba3357630e8df7@git.kernel.org \
--to=tipbot@zytor.com \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=sergey.senozhatsky.work@gmail.com \
--cc=sergey.senozhatsky@gmail.com \
--cc=tglx@linutronix.de \
/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