Re: [PATCH v3 2/6] powerpc/pseries: move some PAPR paravirt functions to their own file
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2020-07-09 10:09:23
Also in:
linux-arch, linuxppc-dev, lkml
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2020-07-09 10:09:23
Also in:
linux-arch, linuxppc-dev, lkml
Nicholas Piggin [off-list ref] writes:
Little bit of changelog would be nice :D
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- arch/powerpc/include/asm/paravirt.h | 61 +++++++++++++++++++++++++++++ arch/powerpc/include/asm/spinlock.h | 24 +----------- arch/powerpc/lib/locks.c | 12 +++--- 3 files changed, 68 insertions(+), 29 deletions(-) create mode 100644 arch/powerpc/include/asm/paravirt.hdiff --git a/arch/powerpc/include/asm/paravirt.h b/arch/powerpc/include/asm/paravirt.h new file mode 100644 index 000000000000..7a8546660a63 --- /dev/null +++ b/arch/powerpc/include/asm/paravirt.h@@ -0,0 +1,61 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_PARAVIRT_H +#define __ASM_PARAVIRT_H
Should be _ASM_POWERPC_PARAVIRT_H
+#ifdef __KERNEL__
We shouldn't need __KERNEL__ in here, it's not a uapi header. cheers