summaryrefslogtreecommitdiffstats
path: root/Documentation/vm/locking
diff options
context:
space:
mode:
authorDavid Brownell2007-05-17 07:11:13 +0200
committerLinus Torvalds2007-05-17 14:23:05 +0200
commit83c6590cb83d3106df12fee36ac2a261951b8c88 (patch)
tree8906e0f3366959e2595d26d263ab32922958743b /Documentation/vm/locking
parentdocbook: make kernel-locking table readable (diff)
downloadkernel-qcow2-linux-83c6590cb83d3106df12fee36ac2a261951b8c88.tar.gz
kernel-qcow2-linux-83c6590cb83d3106df12fee36ac2a261951b8c88.tar.xz
kernel-qcow2-linux-83c6590cb83d3106df12fee36ac2a261951b8c88.zip
gpio interface loosens call restrictions
Loosen gpio_{request,free}() and gpio_direction_{in,out}put() call context restrictions slightly, so a common idiom is no longer an error: board init code setting up spinlock-safe GPIOs before tasking is enabled. The issue was caught by some paranoid code with might_sleep() checks. The legacy platform-specific GPIO interfaces stick to spinlock-safe GPIOs, so this change reflects current implementations and won't break anything. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/vm/locking')
0 files changed, 0 insertions, 0 deletions