x86, xsave: update xsave header bits during ptrace fpregs set
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 29 Jul 2008 17:29:26 +0000 (10:29 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jul 2008 17:49:28 +0000 (19:49 +0200)
commit42deec6f2c3688fdaf986225ac901b817cd91568
tree2aba616a46b3fd4568705bdce6384883e6007c8c
parentc37b5efea43f9e500363f9973dd00e3d2cdcc685
x86, xsave: update xsave header bits during ptrace fpregs set

FP/SSE bits may be zero in the xsave header(representing the init state).
Update these bits during the ptrace fpregs set operation, to indicate the
non-init state.

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>
arch/x86/kernel/i387.c