Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fpu updates from Ingo Molnar: "This cleans up the FPU fault handling methods to be more robust, and moves eligible variables to .init.data" * 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/fpu: Put a few variables in .init.data x86/fpu: Get rid of xstate_fault() x86/fpu: Add an XSTATE_OP() macro
This commit is contained in:
@@ -197,7 +197,7 @@ static void __init fpu__init_task_struct_size(void)
|
||||
*/
|
||||
static void __init fpu__init_system_xstate_size_legacy(void)
|
||||
{
|
||||
static int on_boot_cpu = 1;
|
||||
static int on_boot_cpu __initdata = 1;
|
||||
|
||||
WARN_ON_FPU(!on_boot_cpu);
|
||||
on_boot_cpu = 0;
|
||||
@@ -287,7 +287,7 @@ __setup("eagerfpu=", eager_fpu_setup);
|
||||
*/
|
||||
static void __init fpu__init_system_ctx_switch(void)
|
||||
{
|
||||
static bool on_boot_cpu = 1;
|
||||
static bool on_boot_cpu __initdata = 1;
|
||||
|
||||
WARN_ON_FPU(!on_boot_cpu);
|
||||
on_boot_cpu = 0;
|
||||
|
Reference in New Issue
Block a user