From: Ingo Molnar Date: Sat, 25 Apr 2015 04:26:36 +0000 (+0200) Subject: x86/fpu: Make the system/cpu init distinction clear in the xstate code as well X-Git-Tag: omap-for-v4.3/legacy-v2-signed~203^2~153 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55cc4678b7ee2edd3e6a9411250530eb871bc61d;p=pandora-kernel.git x86/fpu: Make the system/cpu init distinction clear in the xstate code as well Rename existing xstate init functions along the system/cpu init principles: fpu__init_system_xstate(): called once per system bootup fpu__init_cpu_xstate(): called per CPU onlining Also make the fpu__init_cpu_xstate() early code invariant: if xfeatures_mask is not set yet then don't crash but return. 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