summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2011-07-13 13:14:18 +0800
committerLen Brown <len.brown@intel.com>2011-07-13 23:35:57 -0400
commit86cd47334b00b6aa9b5d0ebf389a6fe76f21c641 (patch)
treeb8b9b6475a864abc3a29d4ccae012464bf2a6aee
parent392913de7cc7446531922f29c0a4382d8d09626c (diff)
downloadop-kernel-dev-86cd47334b00b6aa9b5d0ebf389a6fe76f21c641.zip
op-kernel-dev-86cd47334b00b6aa9b5d0ebf389a6fe76f21c641.tar.gz
ACPI, APEI, GHES, Prevent GHES to be built as module
GHES (Generic Hardware Error Source) is used to process hardware error notification in firmware first mode. But because firmware first mode can be turned on but can not be turned off, it is unreasonable to unload the GHES module with firmware first mode turned on. To avoid confusion, this patch makes GHES can be enabled/disabled in configuration time, but not built as module and unloaded at run time. Signed-off-by: Huang Ying <ying.huang@intel.com> Reviewed-by: Andi Kleen <ak@linux.intel.com> Reviewed-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/apei/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/Kconfig b/drivers/acpi/apei/Kconfig
index f739a70..3f45dde 100644
--- a/drivers/acpi/apei/Kconfig
+++ b/drivers/acpi/apei/Kconfig
@@ -10,7 +10,7 @@ config ACPI_APEI
error injection.
config ACPI_APEI_GHES
- tristate "APEI Generic Hardware Error Source"
+ bool "APEI Generic Hardware Error Source"
depends on ACPI_APEI && X86
select ACPI_HED
help
OpenPOWER on IntegriCloud