From: Ingo Molnar Date: Sat, 25 Apr 2015 07:02:51 +0000 (+0200) Subject: x86/fpu: Move all eager-fpu setup code to eager_fpu_init() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~174^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89abbe01a46a9f47f8d07e2817704bfcbd8f6f9e;p=pandora-kernel.git x86/fpu: Move all eager-fpu setup code to eager_fpu_init() The FPU context switch type (lazy or eager) setup code is split into two places currently - move it all to eager_fpu_init(). Note that the code we move will now be executed on non-xstate CPUs as well, but this should be safe: both xfeatures_mask and cpu_has_xsaveopt is 0 there. Reviewed-by: Borislav Petkov Cc: Andy Lutomirski Cc: Dave Hansen Cc: Fenghua Yu Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed