diff options
author | Alexander Graf <agraf@suse.de> | 2010-04-16 00:11:51 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:18:43 +0300 |
commit | 97e492558f423d99c51eb934506b7a3d7c64613b (patch) | |
tree | bcd578e91456e46cd4d22f94d20897a74c4f983d /arch/powerpc/kvm/book3s.c | |
parent | 0474b259d0366a70ea83b94534c333093c189421 (diff) | |
download | linux-97e492558f423d99c51eb934506b7a3d7c64613b.tar.gz linux-97e492558f423d99c51eb934506b7a3d7c64613b.tar.bz2 linux-97e492558f423d99c51eb934506b7a3d7c64613b.zip |
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 <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
0 files changed, 0 insertions, 0 deletions