summaryrefslogtreecommitdiff
path: root/Documentation/ko_KR
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-01-02 16:07:53 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 03:29:52 +0400
commiteb831743f2b43253b0aec40f66a95fdcf8f178cc (patch)
treec1b2787fa11d6bfe36a9964d3db7782fbe789b16 /Documentation/ko_KR
parent83ce07411dc2316aaaf95a0f193fa2fd76e2e739 (diff)
downloadlinux-eb831743f2b43253b0aec40f66a95fdcf8f178cc.tar.xz
char: nwbutton: open-code interruptible_sleep_on
The nwbutton driver uses interruptible_sleep_on to wait for buttons getting pressed after we enter the read() function, which is inherently racy and cannot be fixed by using wait_event without changing the driver's user space interface. Instead, this patch just uses an open-coded variant of the same interruptible_sleep_on() call, so the driver behavior doesn't change but we remove the sleep_on family from the kernel. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ko_KR')
0 files changed, 0 insertions, 0 deletions