Thread (3 messages) flat view 3 messages, 3 authors, 2016-12-02

Re: [PATCH] KVM: PPC: Book3S: Move prototypes for KVM functions into kvm_ppc.h

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-12-02 01:57:06

Paul Mackerras [off-list ref] writes:
This moves the prototypes for functions that are only called from
assembler code out of asm/asm-prototypes.h into asm/kvm_ppc.h.
The prototypes were added in commit ebe4535fbe7a ("KVM: PPC:
Book3S HV: sparse: prototypes for functions called from assembler",
2016-10-10), but given that the functions are KVM functions,
having them in a KVM header will be better for long-term
maintenance.

Signed-off-by: Paul Mackerras <redacted>
---
[For information; I intend to merge this through the KVM tree.]

 arch/powerpc/include/asm/asm-prototypes.h | 44 -------------------------------
 arch/powerpc/include/asm/kvm_ppc.h        | 42 +++++++++++++++++++++++++++++
 arch/powerpc/kvm/book3s_64_vio_hv.c       |  1 -
 arch/powerpc/kvm/book3s_hv_builtin.c      |  1 -
 arch/powerpc/kvm/book3s_hv_ras.c          |  2 +-
 arch/powerpc/kvm/book3s_hv_rm_mmu.c       |  1 -
 arch/powerpc/kvm/book3s_hv_rm_xics.c      |  1 -
 7 files changed, 43 insertions(+), 49 deletions(-)
LGTM.

None of these are EXPORT_SYMBOL'ed, so moving them out of
asm-prototypes.h is safe from that POV.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help