From: Alexander Graf Date: Thu, 15 Apr 2010 22:11:51 +0000 (+0200) Subject: KVM: PPC: Add SVCPU to Book3S_32 X-Git-Tag: v2.6.35-rc1~436^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e492558f423d99c51eb934506b7a3d7c64613b;p=pandora-kernel.git KVM: PPC: Add SVCPU to Book3S_32 We need to keep the pointer to the shadow vcpu somewhere accessible from within really early interrupt code. The best fit I found was the thread struct, as that resides in an SPRG. So let's put a pointer to the shadow vcpu in the thread struct and add an asm-offset so we can find it. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed