aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/apei.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-07-16 18:14:21 -0400
committerLen Brown <len.brown@intel.com>2011-08-03 11:15:59 -0400
commita7e09d450b2e0b068e850d103b6ee1af537d1910 (patch)
treeb38756299aeb751ea88a143560ceae0241471dc6 /include/acpi/apei.h
parentba61ca4aab47441f1c6cec28a9a6aa0489fd1df3 (diff)
ACPI: APEI build fix
as GHES is optional... When # CONFIG_ACPI_APEI_GHES is not set: (.init.text+0x4c22): undefined reference to `ghes_disable' Reported-by: Randy Dunlap <rdunlap@xenotime.net> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/apei.h')
-rw-r--r--include/acpi/apei.h4
1 files changed, 4 insertions, 0 deletions
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
19extern int hest_disable; 19extern int hest_disable;
20extern int erst_disable; 20extern int erst_disable;
21#ifdef CONFIG_ACPI_APEI_GHES
21extern int ghes_disable; 22extern int ghes_disable;
23#else
24#define ghes_disable 1
25#endif
22 26
23#ifdef CONFIG_ACPI_APEI 27#ifdef CONFIG_ACPI_APEI
24void __init acpi_hest_init(void); 28void __init acpi_hest_init(void);