x86, xsave: Introduce xstate enable functions
authorRobert Richter <robert.richter@amd.com>
Wed, 21 Jul 2010 17:03:53 +0000 (19:03 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 21 Jul 2010 21:06:04 +0000 (14:06 -0700)
commit97e80a70db689fb1e876df9f12305cc72f85ca53
tree4525d629614950a4e4d77b0fcbfdcd130377f1ac
parent0e49bf66d2ca649b167428adddbbbe9d9bd4894c
x86, xsave: Introduce xstate enable functions

The patch renames xsave_cntxt_init() and __xsave_init() into
xstate_enable_boot_cpu() and xstate_enable() as this names are more
meaningful.

It also removes the duplicate xcr setup for the boot cpu.

Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <1279731838-1522-3-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>
arch/x86/kernel/xsave.c