summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2021-06-11 19:10:58 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-17 00:09:12 +1000
commit2400c13c437debc99d3399a7100d4e8c3fe20a08 (patch)
tree3be6448f8a9c776eb786ef3b67f27bc1a6501467
parentdb8f7066dc498acf9074ed3c11a7a24f318d8d4f (diff)
downloadlinux-2400c13c437debc99d3399a7100d4e8c3fe20a08.tar.bz2
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 <sudeep.holla@arm.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/5e8d2d50f301a346040362028c2ecba40685de9e.1623438544.git.christophe.leroy@csgroup.eu
-rw-r--r--arch/powerpc/kernel/watchdog.c1
1 files changed, 1 insertions, 0 deletions
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>