]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPICA: Use spinlock for acpi_{en|dis}able_gpe
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Sat, 25 Oct 2008 17:48:46 +0000 (21:48 +0400)
committerLen Brown <len.brown@intel.com>
Tue, 11 Nov 2008 23:35:42 +0000 (18:35 -0500)
commit0b7084ac67fb84f0cf2f8bc02d7e0dea8521dd2d
tree0a619ac7a700543e6ba69aa5a568e5678ec0603d
parenta2f93aeadf97e870ff385030633a73e21146815d
ACPICA: Use spinlock for acpi_{en|dis}able_gpe

Disabling gpe might interfere with gpe detection/handling,
thus producing "interrupt not handled" errors.
Ironically, disabling of GPE from interrupt context is already
under spinlock, so only userspace needs to start using it.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c
drivers/acpi/ec.c
drivers/acpi/events/evxfevnt.c
drivers/acpi/sleep/wakeup.c
drivers/acpi/system.c
include/acpi/acpixf.h