aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorNicolas Pitre <[email protected]>2015-08-12 16:45:02 +0100
committerRussell King <[email protected]>2015-08-18 13:59:59 +0100
commit0f64b247e63ac8c214efa6725366b42563ab138c (patch)
treeb328dc3eed4838935cebba95bba93b5946ca82a3 /lib/dynamic_debug.c
parent09edea4f8fdeb4e292b80d493296070f5ec64e6e (diff)
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]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions