KVM: PPC: Use KVM_BOOK3S_HANDLER
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:41 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:28 +0000 (12:18 +0300)
commitc14dea04a248a59fe01f1b49ac94615042016558
tree3ea92124fba4da1c4bea86b111a8ec188e7be502
parentc7f38f46f2a98d232147e47284cb4e7363296a3e
KVM: PPC: Use KVM_BOOK3S_HANDLER

So far we had a lot of conditional code on CONFIG_KVM_BOOK3S_64_HANDLER.
As we're moving towards common code between 32 and 64 bits, most of
these ifdefs can be moved to a more generic term define, called
CONFIG_KVM_BOOK3S_HANDLER.

This patch adds the new generic config option and moves ifdefs over.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s_asm.h
arch/powerpc/include/asm/paca.h
arch/powerpc/kvm/Kconfig
arch/powerpc/kvm/Makefile