From: Ingo Molnar Date: Sat, 25 Apr 2015 03:04:41 +0000 (+0200) Subject: x86/fpu: Remove xsave_init() bootmem allocations X-Git-Tag: omap-for-v4.2/fixes-rc1^2~174^2~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=966ece619eaeae9b5cb6cede7fe6303b7031a51f;p=pandora-kernel.git x86/fpu: Remove xsave_init() bootmem allocations There's only 8 xstate bits at the moment, and it's not like we can support unknown bits - so put xstate_offsets[] and xstate_sizes[] into static allocation. This is in preparation to be able to call the FPU init code earlier, when there's no bootmem available yet. 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