diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index cc4a4903842a..ac5bbaedac1b 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1062,9 +1062,9 @@ EXPORT_SYMBOL(max_cstate); | |||
1062 | * handle is a pointer to the spinlock_t. | 1062 | * handle is a pointer to the spinlock_t. |
1063 | */ | 1063 | */ |
1064 | 1064 | ||
1065 | acpi_native_uint acpi_os_acquire_lock(acpi_handle handle) | 1065 | acpi_cpu_flags acpi_os_acquire_lock(acpi_handle handle) |
1066 | { | 1066 | { |
1067 | unsigned long flags; | 1067 | acpi_cpu_flags flags; |
1068 | spin_lock_irqsave((spinlock_t *) handle, flags); | 1068 | spin_lock_irqsave((spinlock_t *) handle, flags); |
1069 | return flags; | 1069 | return flags; |
1070 | } | 1070 | } |
@@ -1073,9 +1073,9 @@ acpi_native_uint acpi_os_acquire_lock(acpi_handle handle) | |||
1073 | * Release a spinlock. See above. | 1073 | * Release a spinlock. See above. |
1074 | */ | 1074 | */ |
1075 | 1075 | ||
1076 | void acpi_os_release_lock(acpi_handle handle, acpi_native_uint flags) | 1076 | void acpi_os_release_lock(acpi_handle handle, acpi_cpu_flags flags) |
1077 | { | 1077 | { |
1078 | spin_unlock_irqrestore((spinlock_t *) handle, (unsigned long) flags); | 1078 | spin_unlock_irqrestore((spinlock_t *) handle, flags); |
1079 | } | 1079 | } |
1080 | 1080 | ||
1081 | #ifndef ACPI_USE_LOCAL_CACHE | 1081 | #ifndef ACPI_USE_LOCAL_CACHE |