diff options
author | 2010-07-27 17:51:02 -0600 | |
---|---|---|
committer | 2010-08-13 20:54:53 +0000 | |
commit | 86ded1f35df32ad795cfc8cc1bdaeffbcaec0d5f (patch) | |
tree | 7b8d9f1b39b1b53d6d85bdee8518ced02c033f3c /drivers/watchdog/Kconfig | |
parent | watchdog: hpwdt (11/12): move NMI-decoding init and exit to seperate functions (diff) | |
download | linux-86ded1f35df32ad795cfc8cc1bdaeffbcaec0d5f.tar.gz linux-86ded1f35df32ad795cfc8cc1bdaeffbcaec0d5f.tar.bz2 linux-86ded1f35df32ad795cfc8cc1bdaeffbcaec0d5f.zip |
watchdog: hpwdt (12/12): Make NMI decoding a compile-time option
hpwdt is quite functional without the NMI decoding feature.
This change lets users disable the NMI portion at compile-time
via the new HPWDT_NMI_DECODING config option.
Signed-off-by: dann frazier <dannf@hp.com>
Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r-- | drivers/watchdog/Kconfig | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index cee25e401440..b036677df8c4 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -578,12 +578,17 @@ config HP_WATCHDOG depends on X86 help A software monitoring watchdog and NMI sourcing driver. This driver - will detect lockups and provide a stack trace. Also, when an NMI - occurs this driver will make the necessary BIOS calls to log - the cause of the NMI. This is a driver that will only load on a - HP ProLiant system with a minimum of iLO2 support. - To compile this driver as a module, choose M here: the - module will be called hpwdt. + will detect lockups and provide a stack trace. This is a driver that + will only load on a HP ProLiant system with a minimum of iLO2 support. + To compile this driver as a module, choose M here: the module will be + called hpwdt. + +config HPWDT_NMI_DECODING + bool "NMI decoding support for the HP ProLiant iLO2+ Hardware Watchdog Timer" + depends on HP_WATCHDOG + help + When an NMI occurs this feature will make the necessary BIOS calls to + log the cause of the NMI. config SC1200_WDT tristate "National Semiconductor PC87307/PC97307 (ala SC1200) Watchdog" |