]> git.karo-electronics.de Git - linux-beck.git/commit
x86/xsaves: Save xstate to task's xsave area in __save_fpu during booting time
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 29 May 2014 18:12:41 +0000 (11:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 29 May 2014 21:33:04 +0000 (14:33 -0700)
commitf41d830fa890044cb60f6bb39fc8f6493ffebb47
tree1beb0fb5a035dbb4aecebc4edda386ddbfa68d03
parentadb9d526e98268b647a74726346e1c40e6a37d2e
x86/xsaves: Save xstate to task's xsave area in __save_fpu during booting time

__save_fpu() can be called during early booting time when cpu caps are not
enabled and alternative can not be used yet. Therefore, it calls
xsave_state_booting() during booting time to save xstate to task's xsave area.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1401387164-43416-14-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/fpu-internal.h