X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Facpi%2Fevent.c;h=43c49f66a3283b8fa20f7ea796eb9402ef6f4028;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=385fc65bf29f991dda95f556c191f98147965463;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c index 385fc65bf..43c49f66a 100644 --- a/drivers/acpi/event.c +++ b/drivers/acpi/event.c @@ -16,7 +16,7 @@ ACPI_MODULE_NAME ("event") /* Global vars for handling event proc entry */ -static spinlock_t acpi_system_event_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(acpi_system_event_lock); int event_is_open = 0; extern struct list_head acpi_bus_event_list; extern wait_queue_head_t acpi_bus_event_queue;