powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct()
authorDouglas Anderson <dianders@chromium.org>
Thu, 29 Jun 2023 19:45:06 +0000 (12:45 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 3 Jul 2023 06:08:10 +0000 (16:08 +1000)
commit6cb44bef35ac11724ef22c5ae4f1bc607e2ef3d8
tree1b6583bdb8109ded709d21d0894478949d1e6b8e
parent39f49684036d24af800ff194c33c7b2653c591d7
powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct()

The powerpc/platforms/pseries/mobility.c calls
watchdog_hardlockup_set_timeout_pct(), which is declared in
<asm/nmi.h>. We used to automatically get <asm/nmi.h> included, but
that changed as of commit 7ca8fe94aa92 ("watchdog/hardlockup: define
HARDLOCKUP_DETECTOR_ARCH"). Let's add the explicit include.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/r/af19b76d-aa4b-6c88-9cac-eae4b2072497@infradead.org
Fixes: 7ca8fe94aa92 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230629124500.1.I55e2f4e7903d686c4484cb23c033c6a9e1a9d4c4@changeid
arch/powerpc/platforms/pseries/mobility.c