]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: bookehv: Allow duplicate calls of DO_KVM macro
authorMihai Caraman <mihai.caraman@freescale.com>
Wed, 12 Sep 2012 03:18:14 +0000 (03:18 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 5 Oct 2012 21:34:01 +0000 (23:34 +0200)
commita82acd991ad791594e66f23b387b8f59570a68f4
treeeac7b5c287b1ca3ff8124e25e70771d974d0112c
parentd23c4446cd8e70b85b232e437276c130f6b53bff
KVM: PPC: bookehv: Allow duplicate calls of DO_KVM macro

The current form of DO_KVM macro restricts its use to one call per input
parameter set. This is caused by kvmppc_resume_\intno\()_\srr1 symbol
definition.
Duplicate calls of DO_KVM are required by distinct implementations of
exeption handlers which are delegated at runtime. Use a rare label number
to avoid conflicts with the calling contexts.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_booke_hv_asm.h