aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/Makefile
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-15 17:58:34 -0400
committerAlexander Graf <agraf@suse.de>2012-05-06 10:19:11 -0400
commitf31e65e1170edba4a86bd8cba0318e251d3746d0 (patch)
tree511cd618867f7335e451d416cb7fc8e6944606ff /arch/powerpc/kvm/Makefile
parent4444aa5f78eff73a353c8c4784cda2de74dea54b (diff)
kvm/book3s: Make kernel emulated H_PUT_TCE available for "PR" KVM
There is nothing in the code for emulating TCE tables in the kernel that prevents it from working on "PR" KVM... other than ifdef's and location of the code. This and moves the bulk of the code there to a new file called book3s_64_vio.c. This speeds things up a bit on my G5. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [agraf: fix for hv kvm, 32bit, whitespace] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/Makefile')
-rw-r--r--arch/powerpc/kvm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile
index 25225aea4c39..c2a08636e6d4 100644
--- a/arch/powerpc/kvm/Makefile
+++ b/arch/powerpc/kvm/Makefile
@@ -54,6 +54,7 @@ kvm-book3s_64-objs-$(CONFIG_KVM_BOOK3S_64_PR) := \
54 book3s_paired_singles.o \ 54 book3s_paired_singles.o \
55 book3s_pr.o \ 55 book3s_pr.o \
56 book3s_pr_papr.o \ 56 book3s_pr_papr.o \
57 book3s_64_vio_hv.o \
57 book3s_emulate.o \ 58 book3s_emulate.o \
58 book3s_interrupts.o \ 59 book3s_interrupts.o \
59 book3s_mmu_hpte.o \ 60 book3s_mmu_hpte.o \
@@ -78,6 +79,7 @@ kvm-book3s_64-module-objs := \
78 powerpc.o \ 79 powerpc.o \
79 emulate.o \ 80 emulate.o \
80 book3s.o \ 81 book3s.o \
82 book3s_64_vio.o \
81 $(kvm-book3s_64-objs-y) 83 $(kvm-book3s_64-objs-y)
82 84
83kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs) 85kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs)