diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index e3cd0b16031a..4ece850b2af1 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1058,11 +1058,9 @@ EXPORT_SYMBOL(max_cstate); | |||
1058 | * Acquire a spinlock. | 1058 | * Acquire a spinlock. |
1059 | * | 1059 | * |
1060 | * handle is a pointer to the spinlock_t. | 1060 | * handle is a pointer to the spinlock_t. |
1061 | * flags is *not* the result of save_flags - it is an ACPI-specific flag variable | ||
1062 | * that indicates whether we are at interrupt level. | ||
1063 | */ | 1061 | */ |
1064 | 1062 | ||
1065 | unsigned long acpi_os_acquire_lock(acpi_handle handle) | 1063 | acpi_native_uint acpi_os_acquire_lock(acpi_handle handle) |
1066 | { | 1064 | { |
1067 | unsigned long flags; | 1065 | unsigned long flags; |
1068 | spin_lock_irqsave((spinlock_t *) handle, flags); | 1066 | spin_lock_irqsave((spinlock_t *) handle, flags); |
@@ -1073,7 +1071,7 @@ unsigned long acpi_os_acquire_lock(acpi_handle handle) | |||
1073 | * Release a spinlock. See above. | 1071 | * Release a spinlock. See above. |
1074 | */ | 1072 | */ |
1075 | 1073 | ||
1076 | void acpi_os_release_lock(acpi_handle handle, unsigned long flags) | 1074 | void acpi_os_release_lock(acpi_handle handle, acpi_native_uint flags) |
1077 | { | 1075 | { |
1078 | spin_unlock_irqrestore((spinlock_t *) handle, flags); | 1076 | spin_unlock_irqrestore((spinlock_t *) handle, flags); |
1079 | } | 1077 | } |