From: Nicolas Pitre Date: Wed, 12 Aug 2015 15:45:02 +0000 (+0100) Subject: ARM: 8414/1: __copy_to_user_memcpy: fix mmap semaphore usage X-Git-Tag: omap-for-v4.3/fixes-merge-window~65^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f64b247e63ac8c214efa6725366b42563ab138c;p=pandora-kernel.git 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 Tested-by: Mark Salter Signed-off-by: Russell King --- Reading git-diff-tree failed