powerpc: use spin loop primitives in some functions
authorNicholas Piggin <npiggin@gmail.com>
Tue, 6 Jun 2017 13:08:32 +0000 (23:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 2 Jul 2017 10:40:24 +0000 (20:40 +1000)
commit4e287e655e108cbbd6e3e7dcc49d591c8aa5a8a4
treea7f03b60ca119fe6aaf6abed611a4374444ed172
parentede8e2bbb0eb3370e4dc5484b40eb22850a09b92
powerpc: use spin loop primitives in some functions

Use the different spin loop primitives in some simple powerpc
spin loops, including those which will spin as a common case.

This will help to test the spin loop primitives before more
conversions are done.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add some includes of <linux/processor.h>]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/delay.h
arch/powerpc/kernel/smp.c
arch/powerpc/kernel/time.c
arch/powerpc/mm/hash_native_64.c