KVM: PPC: Book3S_32: Fix MTMSR_EERI macro

Submitted by Alexander Graf on July 30, 2012, 10:32 p.m.


Message ID 1343687579-13689-1-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf July 30, 2012, 10:32 p.m.
Commit b38c77d82e4 moved the MTMSR_EERI macro from the KVM code to generic
ppc_asm.h code. However, while adding it in the headers for the ppc32 case,
it missed out to remove the former definition in the KVM code.

This patch fixes compilation on server type PPC32 targets with CONFIG_KVM

Signed-off-by: Alexander Graf <agraf@suse.de>
 arch/powerpc/kvm/book3s_rmhandlers.S |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/arch/powerpc/kvm/book3s_rmhandlers.S b/arch/powerpc/kvm/book3s_rmhandlers.S
index ab523f3..9ecf6e3 100644
--- a/arch/powerpc/kvm/book3s_rmhandlers.S
+++ b/arch/powerpc/kvm/book3s_rmhandlers.S
@@ -67,7 +67,6 @@  kvmppc_skip_Hinterrupt:
 #elif defined(CONFIG_PPC_BOOK3S_32)
 #define FUNC(name)		name
-#define MTMSR_EERI(reg)		mtmsr	(reg)