diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2021-06-11 19:10:57 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-17 00:09:11 +1000 |
commit | db8f7066dc498acf9074ed3c11a7a24f318d8d4f (patch) | |
tree | 26c0d2cd6a260001d8aedfeff16c8ebe805a80b0 | |
parent | ac3d085368b3abf19b24d8505b897454c7372855 (diff) | |
download | lwn-db8f7066dc498acf9074ed3c11a7a24f318d8d4f.tar.gz lwn-db8f7066dc498acf9074ed3c11a7a24f318d8d4f.zip |
powerpc/64: drop redundant defination of spin_until_cond
linux/processor.h has exactly same defination for spin_until_cond.
Drop the redundant defination in asm/processor.h
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/1fff2054e5dfc00329804dbd3f2a91667c9a8aff.1623438544.git.christophe.leroy@csgroup.eu
-rw-r--r-- | arch/powerpc/include/asm/processor.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index aeb1a35163d1..f348e564f7dd 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -347,17 +347,6 @@ static inline unsigned long __pack_fe01(unsigned int fpmode) #define spin_end() HMT_medium() -#define spin_until_cond(cond) \ -do { \ - if (unlikely(!(cond))) { \ - spin_begin(); \ - do { \ - spin_cpu_relax(); \ - } while (!(cond)); \ - spin_end(); \ - } \ -} while (0) - #endif /* Check that a certain kernel stack pointer is valid in task_struct p */ |