powerpc/watchdog: include linux/processor.h for spin_until_cond
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 11 Jun 2021 19:10:58 +0000 (19:10 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Jun 2021 14:09:12 +0000 (00:09 +1000)
commit2400c13c437debc99d3399a7100d4e8c3fe20a08
tree3be6448f8a9c776eb786ef3b67f27bc1a6501467
parentdb8f7066dc498acf9074ed3c11a7a24f318d8d4f
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
arch/powerpc/kernel/watchdog.c