Skip to content

Commit 6cb44be

Browse files
diandersmpe
authored andcommitted
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 7ca8fe9 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH"). Let's add the explicit include. Reported-by: Randy Dunlap <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Fixes: 7ca8fe9 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH") Signed-off-by: Douglas Anderson <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested Reviewed-by: Petr Mladek <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/20230629124500.1.I55e2f4e7903d686c4484cb23c033c6a9e1a9d4c4@changeid
1 parent 39f4968 commit 6cb44be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/platforms/pseries/mobility.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <linux/stringify.h>
2525

2626
#include <asm/machdep.h>
27+
#include <asm/nmi.h>
2728
#include <asm/rtas.h>
2829
#include "pseries.h"
2930
#include "vas.h" /* vas_migration_handler() */

0 commit comments

Comments
 (0)