diff options
Diffstat (limited to 'drivers/acpi/acpica/utglobal.c')
-rw-r--r-- | drivers/acpi/acpica/utglobal.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index 4153584cf526..90f53b42eca9 100644 --- a/drivers/acpi/acpica/utglobal.c +++ b/drivers/acpi/acpica/utglobal.c | |||
@@ -140,6 +140,7 @@ const struct acpi_predefined_names acpi_gbl_pre_defined_names[] = { | |||
140 | {NULL, ACPI_TYPE_ANY, NULL} | 140 | {NULL, ACPI_TYPE_ANY, NULL} |
141 | }; | 141 | }; |
142 | 142 | ||
143 | #if (!ACPI_REDUCED_HARDWARE) | ||
143 | /****************************************************************************** | 144 | /****************************************************************************** |
144 | * | 145 | * |
145 | * Event and Hardware globals | 146 | * Event and Hardware globals |
@@ -236,6 +237,7 @@ struct acpi_fixed_event_info acpi_gbl_fixed_event_info[ACPI_NUM_FIXED_EVENTS] = | |||
236 | ACPI_BITMASK_RT_CLOCK_STATUS, | 237 | ACPI_BITMASK_RT_CLOCK_STATUS, |
237 | ACPI_BITMASK_RT_CLOCK_ENABLE}, | 238 | ACPI_BITMASK_RT_CLOCK_ENABLE}, |
238 | }; | 239 | }; |
240 | #endif /* !ACPI_REDUCED_HARDWARE */ | ||
239 | 241 | ||
240 | /******************************************************************************* | 242 | /******************************************************************************* |
241 | * | 243 | * |
@@ -286,6 +288,8 @@ acpi_status acpi_ut_init_globals(void) | |||
286 | 288 | ||
287 | acpi_gbl_owner_id_mask[ACPI_NUM_OWNERID_MASKS - 1] = 0x80000000; | 289 | acpi_gbl_owner_id_mask[ACPI_NUM_OWNERID_MASKS - 1] = 0x80000000; |
288 | 290 | ||
291 | #if (!ACPI_REDUCED_HARDWARE) | ||
292 | |||
289 | /* GPE support */ | 293 | /* GPE support */ |
290 | 294 | ||
291 | acpi_gbl_gpe_xrupt_list_head = NULL; | 295 | acpi_gbl_gpe_xrupt_list_head = NULL; |
@@ -294,6 +298,10 @@ acpi_status acpi_ut_init_globals(void) | |||
294 | acpi_current_gpe_count = 0; | 298 | acpi_current_gpe_count = 0; |
295 | acpi_gbl_all_gpes_initialized = FALSE; | 299 | acpi_gbl_all_gpes_initialized = FALSE; |
296 | 300 | ||
301 | acpi_gbl_global_event_handler = NULL; | ||
302 | |||
303 | #endif /* !ACPI_REDUCED_HARDWARE */ | ||
304 | |||
297 | /* Global handlers */ | 305 | /* Global handlers */ |
298 | 306 | ||
299 | acpi_gbl_system_notify.handler = NULL; | 307 | acpi_gbl_system_notify.handler = NULL; |
@@ -302,7 +310,6 @@ acpi_status acpi_ut_init_globals(void) | |||
302 | acpi_gbl_init_handler = NULL; | 310 | acpi_gbl_init_handler = NULL; |
303 | acpi_gbl_table_handler = NULL; | 311 | acpi_gbl_table_handler = NULL; |
304 | acpi_gbl_interface_handler = NULL; | 312 | acpi_gbl_interface_handler = NULL; |
305 | acpi_gbl_global_event_handler = NULL; | ||
306 | 313 | ||
307 | /* Global Lock support */ | 314 | /* Global Lock support */ |
308 | 315 | ||