# Re: \[PATCH\] powerpc: Include asm/nmi.c in mobility.c for watchdog\_hardlockup\_set\_timeout\_pct()

- From: Petr Mladek \<pmladek@suse.com\>
- Date: 2023-06-30 09:20:48 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/06/2250621
- Thread: https://ratatoskr.run/linuxppc-dev/2023/06/2250123/t.md

```text
On Thu 2023-06-29 12:45:06, Douglas Anderson wrote:
> 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>

Thanks for the patch:

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr
```
