Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343478
b: refs/heads/master
c: 430c7ff
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Graf committed Oct 5, 2012
1 parent 233831b commit 07f24d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 166a2b7000c388aee81168987ce2eddb6783f550
refs/heads/master: 430c7ff52ffb902e1e08b255b93c28fcad8cb9ef
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/kvm/e500.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
#define E500_TLB_NUM 2

#define E500_TLB_VALID 1
#define E500_TLB_DIRTY 2
#define E500_TLB_BITMAP 4
#define E500_TLB_BITMAP 2

struct tlbe_ref {
pfn_t pfn;
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/kvm/e500_tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,8 @@ static inline void kvmppc_e500_ref_setup(struct tlbe_ref *ref,
ref->pfn = pfn;
ref->flags = E500_TLB_VALID;

if (tlbe_is_writable(gtlbe)) {
ref->flags |= E500_TLB_DIRTY;
if (tlbe_is_writable(gtlbe))
kvm_set_pfn_dirty(pfn);
}
}

static inline void kvmppc_e500_ref_release(struct tlbe_ref *ref)
Expand Down

0 comments on commit 07f24d1

Please sign in to comment.