diff options
Diffstat (limited to 'drivers/acpi/acpica/acglobal.h')
| -rw-r--r-- | drivers/acpi/acpica/acglobal.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index 29ba66d5a790..c92eeb0443c2 100644 --- a/drivers/acpi/acpica/acglobal.h +++ b/drivers/acpi/acpica/acglobal.h | |||
| @@ -201,7 +201,12 @@ ACPI_EXTERN u8 acpi_gbl_global_lock_present; | |||
| 201 | * interrupt level | 201 | * interrupt level |
| 202 | */ | 202 | */ |
| 203 | ACPI_EXTERN spinlock_t _acpi_gbl_gpe_lock; /* For GPE data structs and registers */ | 203 | ACPI_EXTERN spinlock_t _acpi_gbl_gpe_lock; /* For GPE data structs and registers */ |
| 204 | ACPI_EXTERN spinlock_t _acpi_gbl_hardware_lock; /* For ACPI H/W except GPE registers */ | 204 | |
| 205 | /* | ||
| 206 | * Need to be raw because it might be used in acpi_processor_idle(): | ||
| 207 | */ | ||
| 208 | ACPI_EXTERN raw_spinlock_t _acpi_gbl_hardware_lock; /* For ACPI H/W except GPE registers */ | ||
| 209 | |||
| 205 | #define acpi_gbl_gpe_lock &_acpi_gbl_gpe_lock | 210 | #define acpi_gbl_gpe_lock &_acpi_gbl_gpe_lock |
| 206 | #define acpi_gbl_hardware_lock &_acpi_gbl_hardware_lock | 211 | #define acpi_gbl_hardware_lock &_acpi_gbl_hardware_lock |
| 207 | 212 | ||
