From: Sudeep Holla Date: Fri, 11 Jun 2021 19:10:58 +0000 (+0000) Subject: powerpc/watchdog: include linux/processor.h for spin_until_cond X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2400c13c437debc99d3399a7100d4e8c3fe20a08;p=linux.git powerpc/watchdog: include linux/processor.h for spin_until_cond 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. Signed-off-by: Sudeep Holla Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/5e8d2d50f301a346040362028c2ecba40685de9e.1623438544.git.christophe.leroy@csgroup.eu --- diff --git a/arch/powerpc/kernel/watchdog.c b/arch/powerpc/kernel/watchdog.c index c9a8f4781a101..a165635fd2148 100644 --- a/arch/powerpc/kernel/watchdog.c +++ b/arch/powerpc/kernel/watchdog.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include