Files
linux/arch/arm/lib
Nicolas Pitre 0f64b247e6 ARM: 8414/1: __copy_to_user_memcpy: fix mmap semaphore usage
The mmap semaphore should not be taken when page faults are disabled.
Since pagefault_disable() no longer disables preemption, we now need
to use faulthandler_disabled() in place of in_atomic().

Signed-off-by: Nicolas Pitre <[email protected]>
Tested-by: Mark Salter <[email protected]>
Signed-off-by: Russell King <[email protected]>
2015-08-18 13:59:59 +01:00
..