diff options
author | Avi Kivity <avi@redhat.com> | 2010-05-06 10:45:46 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-05-10 19:48:55 +0200 |
commit | 86603283326c9e95e5ad4e9fdddeec93cac5d9ad (patch) | |
tree | 1a26a37434e920f9519b547814a1a9af35022de8 /arch/x86/math-emu/fpu_system.h | |
parent | x86: Eliminate TS_XSAVE (diff) | |
download | linux-86603283326c9e95e5ad4e9fdddeec93cac5d9ad.tar.xz linux-86603283326c9e95e5ad4e9fdddeec93cac5d9ad.zip |
x86: Introduce 'struct fpu' and related API
Currently all fpu state access is through tsk->thread.xstate. Since we wish
to generalize fpu access to non-task contexts, wrap the state in a new
'struct fpu' and convert existing access to use an fpu API.
Signal frame handlers are not converted to the API since they will remain
task context only things.
Signed-off-by: Avi Kivity <avi@redhat.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1273135546-29690-3-git-send-email-avi@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/math-emu/fpu_system.h')
0 files changed, 0 insertions, 0 deletions