summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRobert Richter2010-07-21 19:03:52 +0200
committerH. Peter Anvin2010-07-21 23:06:04 +0200
commit0e49bf66d2ca649b167428adddbbbe9d9bd4894c (patch)
tree741f170dbb160ece127b2ab497f9fc9d1e3bd1bc /crypto
parentx86, xsave: Move boot cpu initialization to xsave_init() (diff)
downloadkernel-qcow2-linux-0e49bf66d2ca649b167428adddbbbe9d9bd4894c.tar.gz
kernel-qcow2-linux-0e49bf66d2ca649b167428adddbbbe9d9bd4894c.tar.xz
kernel-qcow2-linux-0e49bf66d2ca649b167428adddbbbe9d9bd4894c.zip
x86, xsave: Separate fpu and xsave initialization
As xsave also supports other than fpu features, it should be initialized independently of the fpu. This patch moves this out of fpu initialization. There is also a lot of cross referencing between fpu and xsave code. This patch reduces this by making xsave_cntxt_init() and init_thread_xstate() static functions. The patch moves the cpu_has_xsave check at the beginning of xsave_init(). All other checks may removed then. Signed-off-by: Robert Richter <robert.richter@amd.com> LKML-Reference: <1279731838-1522-2-git-send-email-robert.richter@amd.com> Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions