]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaba357a1fcd1fa549f986defa8ca563cdbe5033c
tree841a7d48164363c433e2314118ee0df35a125c2f
parent9f7125a4439ff8890b129cfe1b257f993aed0c1b
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