]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPI, APEI, GHES, Prevent GHES to be built as module
authorHuang Ying <ying.huang@intel.com>
Wed, 13 Jul 2011 05:14:18 +0000 (13:14 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 14 Jul 2011 03:35:57 +0000 (23:35 -0400)
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>
drivers/acpi/apei/Kconfig

index f739a70b1c708a0084afa2e8e6605f401c7bfd94..3f45dde17aec14845f909d5b4f322e5d3dceffe7 100644 (file)
@@ -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