aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/pika_wdt.c
diff options
context:
space:
mode:
authorGravatar Jerry Hoemann <jerry.hoemann@hpe.com> 2022-08-20 14:28:20 -0600
committerGravatar Wim Van Sebroeck <wim@linux-watchdog.org> 2022-10-02 12:55:32 +0200
commited835d8171fc884c7750cdd54128df16d4571e3a (patch)
tree867f9cd1b7369f08a2cded755dd962f39a760f74 /drivers/watchdog/pika_wdt.c
parentwatchdog: wdat_wdt: Set the min and max timeout values properly (diff)
downloadlinux-ed835d8171fc884c7750cdd54128df16d4571e3a.tar.gz
linux-ed835d8171fc884c7750cdd54128df16d4571e3a.tar.bz2
linux-ed835d8171fc884c7750cdd54128df16d4571e3a.zip
watchdog/hpwdt: Include nmi.h only if CONFIG_HPWDT_NMI_DECODING
Fixes: d48b0e173715 ("x86, nmi, drivers: Fix nmi splitup build bug") Arm64 does not support NMI and has no <asm/nmi.h>. Include <asm/nmi.h> only if CONFIG_HPWDT_NMI_DECODING is defined to avoid build failure on non-existent header file on Arm64. Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20220820202821.1263837-2-jerry.hoemann@hpe.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/pika_wdt.c')
0 files changed, 0 insertions, 0 deletions