From: Sudeep Holla <sudeep.ho...@arm.com> This implementation uses spin_until_cond in wd_smp_lock including neither linux/processor.h nor asm/processor.h
This patch includes linux/processor.h here for spin_until_cond usage. Cc: Nicholas Piggin <npig...@gmail.com> Cc: Michael Ellerman <m...@ellerman.id.au> Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Christophe Leroy <christophe.le...@csgroup.eu> --- arch/powerpc/kernel/watchdog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/watchdog.c b/arch/powerpc/kernel/watchdog.c index c9a8f4781a10..a165635fd214 100644 --- a/arch/powerpc/kernel/watchdog.c +++ b/arch/powerpc/kernel/watchdog.c @@ -24,6 +24,7 @@ #include <linux/kdebug.h> #include <linux/sched/debug.h> #include <linux/delay.h> +#include <linux/processor.h> #include <linux/smp.h> #include <asm/interrupt.h> -- 2.25.0