[PATCH RFC 14/15] mips: properly lock access to the fpu

2015-05-06 Thread David Hildenbrand
Let's always disable preemption and pagefaults when locking the fpu, so we can be sure that the owner won't change in between. This is a preparation for pagefault_disable() not touching preemption anymore. Signed-off-by: David Hildenbrand --- arch/mips/kernel/signal-common.h | 9 ++--- 1

[PATCH RFC 14/15] mips: properly lock access to the fpu

2015-05-06 Thread David Hildenbrand
Let's always disable preemption and pagefaults when locking the fpu, so we can be sure that the owner won't change in between. This is a preparation for pagefault_disable() not touching preemption anymore. Signed-off-by: David Hildenbrand d...@linux.vnet.ibm.com ---