projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8f706
)
powerpc/watchdog: include linux/processor.h for spin_until_cond
author
Sudeep Holla
<sudeep.holla@arm.com>
Fri, 11 Jun 2021 19:10:58 +0000
(19:10 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 16 Jun 2021 14:09:12 +0000
(
00:09
+1000)
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
arch/powerpc/kernel/watchdog.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/watchdog.c
b/arch/powerpc/kernel/watchdog.c
index c9a8f4781a1018afcb4fe15cba3129eb1447b6e5..a165635fd2148fc1feb564a529ad3728c754584b 100644
(file)
--- 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>