powerpc/kvm: Fix build with older toolchains
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 7 Nov 2011 13:36:56 +0000 (13:36 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 Nov 2011 03:51:03 +0000 (14:51 +1100)
commitad61d64e263228a418fe25809a23d5107cf778a0
tree5a3aba9b333d4f8195d04e316a791fc03e93996f
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
powerpc/kvm: Fix build with older toolchains

Fix KVM build for older toolchains (found with .powerpc64-unknown-linux-gnu-gcc
(crosstool-NG-1.8.1) 4.3.2):

  AS      arch/powerpc/kvm/book3s_hv_rmhandlers.o
arch/powerpc/kvm/book3s_hv_rmhandlers.S: Assembler messages:
arch/powerpc/kvm/book3s_hv_rmhandlers.S:1388: Error: Unrecognized opcode: `popcntw'
make[1]: *** [arch/powerpc/kvm/book3s_hv_rmhandlers.o] Error 1
make: *** [_module_arch/powerpc/kvm] Error 2

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kvm/book3s_hv_rmhandlers.S