From: Will Deacon Date: Fri, 7 Sep 2012 17:24:10 +0000 (+0100) Subject: ARM: 7528/1: uaccess: annotate [__]{get,put}_user functions with might_fault() X-Git-Tag: v3.6-rc6~28^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad72907acd2943304c292ae36960bb66e6dc23c9;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed