ACPI: thinkpad-acpi: use killable instead of interruptible mutexes
commit6b11422cc809e9a44cc13dc5070da1a41666f38f
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Mar 2009 06:54:55 +0000 (24 03:54 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Mar 2009 06:54:55 +0000 (24 03:54 -0300)
tree17943248f18d1ec85329f670eaa341b74ac7a346
parenta607656a1556142844813edffab94e180541e7b9
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