diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-07-29 13:29:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-30 13:49:24 -0400 |
commit | dc1e35c6e95e8923cf1d3510438b63c600fee1e2 (patch) | |
tree | 4348f51f1bfdd124efd6d16dcc552bd4a148fdfb /include/asm-x86/i387.h | |
parent | a648bf4632628c787abb0514277f2a231fca39ca (diff) |
x86, xsave: enable xsave/xrstor on cpus with xsave support
Enables xsave/xrstor by turning on cr4.osxsave on cpu's which have
the xsave support. For now, features that OS supports/enabled are
FP and SSE.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/i387.h')
-rw-r--r-- | include/asm-x86/i387.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/i387.h b/include/asm-x86/i387.h index 3958de6aad0e..6a6647896670 100644 --- a/include/asm-x86/i387.h +++ b/include/asm-x86/i387.h | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <asm/sigcontext.h> | 18 | #include <asm/sigcontext.h> |
19 | #include <asm/user.h> | 19 | #include <asm/user.h> |
20 | #include <asm/uaccess.h> | 20 | #include <asm/uaccess.h> |
21 | #include <asm/xsave.h> | ||
21 | 22 | ||
22 | extern void fpu_init(void); | 23 | extern void fpu_init(void); |
23 | extern void mxcsr_feature_mask_init(void); | 24 | extern void mxcsr_feature_mask_init(void); |