OSDN Git Service

powerpc/pseries: Move some PAPR paravirt functions to their own file
authorNicholas Piggin <npiggin@gmail.com>
Fri, 24 Jul 2020 13:14:18 +0000 (23:14 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:26 +0000 (23:34 +1000)
commit20d444d06f97504d165b08558678b4737dcefb02
tree841a7d48164363c433e2314118ee0df35a125c2f
parentdbce456280857f329af9069af5e48a9b6ebad146
powerpc/pseries: Move some PAPR paravirt functions to their own file

These functions will be used by the queued spinlock implementation,
and may be useful elsewhere too, so move them out of spinlock.h.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200724131423.1362108-2-npiggin@gmail.com
arch/powerpc/include/asm/paravirt.h [new file with mode: 0644]
arch/powerpc/include/asm/spinlock.h
arch/powerpc/lib/locks.c