OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7cacd4
)
KVM: ppc: use MMUCR accessor to obtain TID
author
Hollis Blanchard
<hollisb@us.ibm.com>
Mon, 10 Nov 2008 20:57:34 +0000
(14:57 -0600)
committer
Avi Kivity
<avi@redhat.com>
Wed, 31 Dec 2008 14:52:25 +0000
(16:52 +0200)
We have an accessor; might as well use it.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/44x_tlb.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/44x_tlb.c
b/arch/powerpc/kvm/44x_tlb.c
index
8b65fbd
..
260fa8b
100644
(file)
--- a/
arch/powerpc/kvm/44x_tlb.c
+++ b/
arch/powerpc/kvm/44x_tlb.c
@@
-339,7
+339,7
@@
int kvmppc_44x_emul_tlbwe(struct kvm_vcpu *vcpu, u8 ra, u8 rs, u8 ws)
switch (ws) {
case PPC44x_TLB_PAGEID:
- tlbe->tid =
vcpu->arch.mmucr & 0xff
;
+ tlbe->tid =
get_mmucr_stid(vcpu)
;
tlbe->word0 = vcpu->arch.gpr[rs];
break;