Re: [PATCH 1/2] x86/fpu: remove cpu argument to __cpu_invalidate_fpregs_state

2016-10-14 Thread Dave Hansen
On 10/14/2016 05:15 AM, r...@redhat.com wrote: > From: Rik van Riel > > The __{fpu,cpu}_invalidate_fpregs_state functions can only be used > to invalidate a resource they control. Document that, and change > the API a little bit to reflect that. > > Go back to open coding the fpu_fpregs_owner_c

[PATCH 1/2] x86/fpu: remove cpu argument to __cpu_invalidate_fpregs_state

2016-10-14 Thread riel
From: Rik van Riel The __{fpu,cpu}_invalidate_fpregs_state functions can only be used to invalidate a resource they control. Document that, and change the API a little bit to reflect that. Go back to open coding the fpu_fpregs_owner_ctx write in the CPU hotplug code, which should be the excepti