aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-09-07 18:24:10 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-09-09 17:28:48 +0100
commitad72907acd2943304c292ae36960bb66e6dc23c9 (patch)
treed9f09ddcb8c4bc8d5a3885c89bc28942bd2e33bd /virt/kvm
parentARM: 7527/1: uaccess: explicitly check __user pointer when !CPU_USE_DOMAINS (diff)
downloadlinux-dev-ad72907acd2943304c292ae36960bb66e6dc23c9.tar.xz
linux-dev-ad72907acd2943304c292ae36960bb66e6dc23c9.zip
ARM: 7528/1: uaccess: annotate [__]{get,put}_user functions with might_fault()
The user access functions may generate a fault, resulting in invocation of a handler that may sleep. This patch annotates the accessors with might_fault() so that we print a warning if they are invoked from atomic context and help lockdep keep track of mmap_sem. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions