diff options
-rw-r--r-- | drivers/acpi/bus.c | 2 | ||||
-rw-r--r-- | include/acpi/apei.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 43ce3b0c4921..437ddbf0c49a 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -544,10 +544,8 @@ static void acpi_bus_osc_support(void) | |||
544 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_PPC_OST_SUPPORT; | 544 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_PPC_OST_SUPPORT; |
545 | #endif | 545 | #endif |
546 | 546 | ||
547 | #ifdef CONFIG_ACPI_APEI_GHES | ||
548 | if (!ghes_disable) | 547 | if (!ghes_disable) |
549 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_APEI_SUPPORT; | 548 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_APEI_SUPPORT; |
550 | #endif | ||
551 | if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))) | 549 | if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))) |
552 | return; | 550 | return; |
553 | if (ACPI_SUCCESS(acpi_run_osc(handle, &context))) { | 551 | if (ACPI_SUCCESS(acpi_run_osc(handle, &context))) { |
diff --git a/include/acpi/apei.h b/include/acpi/apei.h index d40bc5521fcb..51a527d24a8a 100644 --- a/include/acpi/apei.h +++ b/include/acpi/apei.h | |||
@@ -18,7 +18,11 @@ | |||
18 | 18 | ||
19 | extern int hest_disable; | 19 | extern int hest_disable; |
20 | extern int erst_disable; | 20 | extern int erst_disable; |
21 | #ifdef CONFIG_ACPI_APEI_GHES | ||
21 | extern int ghes_disable; | 22 | extern int ghes_disable; |
23 | #else | ||
24 | #define ghes_disable 1 | ||
25 | #endif | ||
22 | 26 | ||
23 | #ifdef CONFIG_ACPI_APEI | 27 | #ifdef CONFIG_ACPI_APEI |
24 | void __init acpi_hest_init(void); | 28 | void __init acpi_hest_init(void); |