x86: Introduce 'struct fpu' and related API
authorAvi Kivity <avi@redhat.com>
Thu, 6 May 2010 08:45:46 +0000 (11:45 +0300)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 10 May 2010 17:48:55 +0000 (10:48 -0700)
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>

No differences found