ACPI: thinkpad-acpi: use killable instead of interruptible mutexes
commitc7fbd01193385b74c6b62c850aa8c1c07918d878
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 21 Oct 2008 01:21:13 +0000 (20 23:21 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 21 Oct 2008 01:21:26 +0000 (20 23:21 -0200)
treebdbc76b1954302adb89eb7968746b57d08df0e7f
parent2d94ecd60d253d15e8fbe02bc354c15921406e92
ACPI: thinkpad-acpi: use killable instead of interruptible mutexes

Unfortunately, POSIX in all of its braindamage, do not state that userspace has
to deal with EINTR in read/write and friends... so, lesser code just doesn't.

Switch from *_interruptible to *_killable on the sysfs- and procfs-related
mutexes.  This closes this possible can of worms.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/misc/thinkpad_acpi.c