x86/fpu: Move init_xstate_size() to __init section
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Tue, 8 Jan 2019 13:02:25 +0000 (22:02 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 8 Feb 2019 13:32:34 +0000 (14:32 +0100)
commit653a561bb2fd34e470594eb1bdba3357630e8df7
tree03df82a8de74f347a4520b6b42b083e3453faca6
parentba2ba356b2c849ec62d5fefa9cd4168163b13211
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