Skip to content

Commit

Permalink
powerpc/kvm/book3s_32: Fix MTMSR_EERI macro
Browse files Browse the repository at this point in the history
Commit b38c77d 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
enabled.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Alexander Graf authored and Benjamin Herrenschmidt committed Jul 31, 2012
1 parent b6965f7 commit ad36cb0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/powerpc/kvm/book3s_rmhandlers.S
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ kvmppc_skip_Hinterrupt:
#elif defined(CONFIG_PPC_BOOK3S_32)

#define FUNC(name) name
#define MTMSR_EERI(reg) mtmsr (reg)

.macro INTERRUPT_TRAMPOLINE intno

Expand Down

0 comments on commit ad36cb0

Please sign in to comment.