powerpc/kvm: Fix the build for 32-bit Book 3S (classic) processors
authorPaul Mackerras <paulus@samba.org>
Wed, 11 May 2011 00:39:50 +0000 (00:39 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 20 May 2011 03:43:41 +0000 (13:43 +1000)
commit593adf317cf165f7c66facf2285db9d4befbd1c0
treee0dad2d05ea04cc44048766e47a6e6ef78f8db2f
parent44075d95e2567ce7b454bc1a4cf264ff6afebe65
powerpc/kvm: Fix the build for 32-bit Book 3S (classic) processors

Commits a5d4f3ad3a ("powerpc: Base support for exceptions using
HSRR0/1") and 673b189a2e ("powerpc: Always use SPRN_SPRG_HSCRATCH0
when running in HV mode") cause compile and link errors for 32-bit
classic Book 3S processors when KVM is enabled.  This fixes these
errors.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/reg.h
arch/powerpc/kvm/book3s_rmhandlers.S