[PATCH] powerpc: Move arch_trigger_cpumask_backtrace from nmi.h to irq.h
Petr Mladek
pmladek at suse.com
Thu Jun 22 18:40:11 AEST 2023
On Wed 2023-06-21 16:48:19, Douglas Anderson wrote:
> The powerpc architecture was the only one that defined
> arch_trigger_cpumask_backtrace() in asm/nmi.h instead of
> asm/irq.h. Move it to be consistent.
>
> This fixes compile time errors introduced by commit 7ca8fe94aa92
> ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH"). That commit
Will this commit end up in the mainline wihtout rebasing?
We could use only final commit hashes in the commit messages.
> caused <asm/nmi.h> to stop being included if the hardlockup detector
> wasn't enabled. The specific errors were:
> error: implicit declaration of function ‘nmi_cpu_backtrace’
> error: implicit declaration of function ‘nmi_trigger_cpumask_backtrace’
>
> Fixes: 7ca8fe94aa92 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH")
> Reported-by: Michael Ellerman <mpe at ellerman.id.au>
> Closes: https://lore.kernel.org/r/871qi5otdh.fsf@mail.lhotse
> Signed-off-by: Douglas Anderson <dianders at chromium.org>
Looks like a reasonable solution:
Reviewed-by: Petr Mladek <pmladek at suse.com>
Thanks a lot for fixing the regression.
Best Regards,
Petr
More information about the Linuxppc-dev
mailing list