Re: [PATCH 2/2] x86: Introduce 'struct fpu' and related API

2010-05-04 Thread Suresh Siddha
On Sun, 2010-05-02 at 07:53 -0700, Avi Kivity wrote: > 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 n

[PATCH 2/2] x86: Introduce 'struct fpu' and related API

2010-05-02 Thread Avi Kivity
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 onl