Re: [PATCH] powerpc/kvm: Fix build error on book3s_hv.c

2016-05-11 Thread Paul Mackerras
On Wed, May 11, 2016 at 11:15:55AM +1000, Gavin Shan wrote: > When CONFIG_KVM_XICS is enabled, CPU_UP_PREPARE and other macros for > CPU states in linux/cpu.h are needed by arch/powerpc/kvm/book3s_hv.c. > Otherwise, build error as below is seen: > >gwshan@gwshan:~/sandbox/l$ make arch/powerpc/

Re: [PATCH] powerpc/kvm: Fix build error on book3s_hv.c

2016-05-10 Thread Balbir Singh
On 11/05/16 11:15, Gavin Shan wrote: > When CONFIG_KVM_XICS is enabled, CPU_UP_PREPARE and other macros for > CPU states in linux/cpu.h are needed by arch/powerpc/kvm/book3s_hv.c. > Otherwise, build error as below is seen: > >gwshan@gwshan:~/sandbox/l$ make arch/powerpc/kvm/book3s_hv.o >

[PATCH] powerpc/kvm: Fix build error on book3s_hv.c

2016-05-10 Thread Gavin Shan
When CONFIG_KVM_XICS is enabled, CPU_UP_PREPARE and other macros for CPU states in linux/cpu.h are needed by arch/powerpc/kvm/book3s_hv.c. Otherwise, build error as below is seen: gwshan@gwshan:~/sandbox/l$ make arch/powerpc/kvm/book3s_hv.o : CC arch/powerpc/kvm/book3s_hv.o arch/