Re: [PATCH 6/6] kvm: ppc: Add SPRN_SPR get helper function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> kvmppc_set_epr() is already defined in asm/kvm_ppc.h, So
> rename and move get_epr helper function to same file.
> 
> Signed-off-by: Bharat Bhushan <Bharat.Bhushan@xxxxxxxxxxxxx>
> ---
>  arch/powerpc/include/asm/kvm_ppc.h |  9 +++++++++
>  arch/powerpc/kvm/booke.c           | 11 +----------
> 2 files changed, 10 insertions(+), 10 deletions(-)

This patch which is already applied on kvm-ppc-queue breaks book3s.
I get these errors with g5_defconfig:

In file included from arch/powerpc/kernel/asm-offsets.c:57:0:
./arch/powerpc/include/asm/kvm_ppc.h: In function 'kvmppc_get_epr':
./arch/powerpc/include/asm/kvm_ppc.h:400:19: error: 'struct kvm_vcpu_arch' has no member named 'epr'
./arch/powerpc/include/asm/kvm_ppc.h: In function 'kvmppc_get_sprg0':
./arch/powerpc/include/asm/kvm_ppc.h:522:1: error: 'SPRN_GSPRG0' undeclared (first use in this function)
./arch/powerpc/include/asm/kvm_ppc.h:522:1: note: each undeclared identifier is reported only once for each function it appears in
...

-Mike
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux