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 <nico@linaro.org>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-08-18 13:59:59 +01:00
..
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2015-05-08 17:33:50 +01:00
2015-03-29 23:11:56 +01:00
2014-11-27 16:00:25 +00:00
2014-11-27 16:00:25 +00:00
2015-03-29 23:11:56 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2015-03-29 23:11:56 +01:00
2014-07-18 12:29:04 +01:00
2015-04-14 22:28:07 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-09-12 17:38:59 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2015-05-26 15:28:34 +02:00
2014-07-18 12:29:04 +01:00
2015-01-16 14:49:08 +00:00
2014-07-18 12:29:04 +01:00
2015-07-03 20:46:15 +01:00
2014-11-27 16:00:24 +00:00
2015-07-03 20:46:15 +01:00
2014-11-27 16:00:23 +00:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2015-08-18 13:59:59 +01:00
2014-07-18 12:29:04 +01:00