ACPI: thinkpad-acpi: use killable instead of interruptible mutexes
commiteb6729b6589731b7709ee1cff2e6faa532a1f44a
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:47 +0000 (13 09:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:47 +0000 (13 09:21 -0300)
tree6a8658c6cd95b2948e1b5fa62d5dc36db535d5e2
parent1e754e8d8d3d5a488374f3beb5157171590a0143
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/platform/x86/thinkpad_acpi.c