diff options
author | Rafael J. Wysocki | 2011-01-14 23:25:57 +0100 |
---|---|---|
committer | Linus Torvalds | 2011-01-15 00:21:42 +0100 |
commit | 9a1fe2f27f71dd275caf2be5be2fa59bd2a3f8d4 (patch) | |
tree | 4cf4dcf1119c9876db84245ea7fedb7edb429f3f /drivers/acpi/acpica/evmisc.c | |
parent | Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block (diff) | |
download | kernel-qcow2-linux-9a1fe2f27f71dd275caf2be5be2fa59bd2a3f8d4.tar.gz kernel-qcow2-linux-9a1fe2f27f71dd275caf2be5be2fa59bd2a3f8d4.tar.xz kernel-qcow2-linux-9a1fe2f27f71dd275caf2be5be2fa59bd2a3f8d4.zip |
ACPI / ACPICA: Initialize the global lock spinlock as appropriate
Commit 9cd0314 (ACPI / ACPICA: Fix global lock acquisition) forgot to
initialize the spinlock it added. Fix that.
Reported-and-tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/acpi/acpica/evmisc.c')
-rw-r--r-- | drivers/acpi/acpica/evmisc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evmisc.c b/drivers/acpi/acpica/evmisc.c index 8e31bb5a973a..38bba66fcce5 100644 --- a/drivers/acpi/acpica/evmisc.c +++ b/drivers/acpi/acpica/evmisc.c @@ -293,8 +293,6 @@ static void ACPI_SYSTEM_XFACE acpi_ev_notify_dispatch(void *context) * ******************************************************************************/ static u8 acpi_ev_global_lock_pending; -static spinlock_t _acpi_ev_global_lock_pending_lock; -#define acpi_ev_global_lock_pending_lock &_acpi_ev_global_lock_pending_lock static u32 acpi_ev_global_lock_handler(void *context) { |