Commit-ID: 6e5535940fcc2608e58af997236ce5e0391ccfc6 Gitweb: http://git.kernel.org/tip/6e5535940fcc2608e58af997236ce5e0391ccfc6 Author: Ingo Molnar <mingo@xxxxxxxxxx> AuthorDate: Sun, 24 May 2015 09:58:12 +0200 Committer: Ingo Molnar <mingo@xxxxxxxxxx> CommitDate: Mon, 25 May 2015 12:49:34 +0200 x86/fpu: Fix fpu__init_system_xstate() comments Remove obsolete comment about __init limitations: in the new code there aren't any. Also standardize the comment style in the function while at it. Cc: Andy Lutomirski <luto@xxxxxxxxxxxxxx> Cc: Borislav Petkov <bp@xxxxxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx> Cc: H. Peter Anvin <hpa@xxxxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: linux-kernel@xxxxxxxxxxxxxxx Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx> --- arch/x86/kernel/fpu/xstate.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c index 5724098..ad4dd26 100644 --- a/arch/x86/kernel/fpu/xstate.c +++ b/arch/x86/kernel/fpu/xstate.c @@ -316,8 +316,6 @@ static void __init init_xstate_size(void) /* * Enable and initialize the xsave feature. * Called once per system bootup. - * - * ( Not marked __init because of false positive section warnings. ) */ void __init fpu__init_system_xstate(void) { @@ -345,17 +343,13 @@ void __init fpu__init_system_xstate(void) BUG(); } - /* - * Support only the state known to OS. - */ + /* Support only the state known to the OS: */ xfeatures_mask = xfeatures_mask & XCNTXT_MASK; /* Enable xstate instructions to be able to continue with initialization: */ fpu__init_cpu_xstate(); - /* - * Recompute the context size for enabled features - */ + /* Recompute the context size for enabled features: */ init_xstate_size(); update_regset_xstate_info(xstate_size, xfeatures_mask); -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |