diff options
Diffstat (limited to 'include/asm-x86/xsave.h')
-rw-r--r-- | include/asm-x86/xsave.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-x86/xsave.h b/include/asm-x86/xsave.h index b716511aede2..b7f64b9fcd94 100644 --- a/include/asm-x86/xsave.h +++ b/include/asm-x86/xsave.h | |||
@@ -29,6 +29,9 @@ extern struct xsave_struct *init_xstate_buf; | |||
29 | extern void xsave_cntxt_init(void); | 29 | extern void xsave_cntxt_init(void); |
30 | extern void xsave_init(void); | 30 | extern void xsave_init(void); |
31 | extern int init_fpu(struct task_struct *child); | 31 | extern int init_fpu(struct task_struct *child); |
32 | extern int check_for_xstate(struct i387_fxsave_struct __user *buf, | ||
33 | void __user *fpstate, | ||
34 | struct _fpx_sw_bytes *sw); | ||
32 | 35 | ||
33 | static inline int xrstor_checking(struct xsave_struct *fx) | 36 | static inline int xrstor_checking(struct xsave_struct *fx) |
34 | { | 37 | { |
@@ -48,7 +51,7 @@ static inline int xrstor_checking(struct xsave_struct *fx) | |||
48 | return err; | 51 | return err; |
49 | } | 52 | } |
50 | 53 | ||
51 | static inline int xsave_check(struct xsave_struct __user *buf) | 54 | static inline int xsave_user(struct xsave_struct __user *buf) |
52 | { | 55 | { |
53 | int err; | 56 | int err; |
54 | __asm__ __volatile__("1: .byte " REX_PREFIX "0x0f,0xae,0x27\n" | 57 | __asm__ __volatile__("1: .byte " REX_PREFIX "0x0f,0xae,0x27\n" |