powerpc/processor: Move cpu_relax() into asm/vdso/processor.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 26 Nov 2020 13:09:59 +0000 (00:09 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:09 +0000 (01:01 +1100)
commit8f8cffd9df81612b5b06d2c57ebf74f8961b41be
tree17e3f68de53724982679d0cfb0094eaaf7768518
parent8d1eeabf253657ae3e76970514f30b7e53a6898f
powerpc/processor: Move cpu_relax() into asm/vdso/processor.h

cpu_relax() need to be in asm/vdso/processor.h to be used by
the C VDSO generic library.

Move it there.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201126131006.2431205-2-mpe@ellerman.id.au
arch/powerpc/include/asm/processor.h
arch/powerpc/include/asm/vdso/processor.h [new file with mode: 0644]