Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86639
b: refs/heads/master
c: cc4b7c1
h: refs/heads/master
i:
  86637: dfbeb87
  86635: bc77c68
  86631: 90b8135
  86623: 18b8436
v: v3
  • Loading branch information
Arnd Bergmann authored and Jeremy Kerr committed Feb 29, 2008
1 parent 22be403 commit 5d1770e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fae9ca791507876c3ccaa8ab686b2ce42dc7a560
refs/heads/master: cc4b7c1814c9ad375e8167ea4a9ec4a0ec1ada04
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/platforms/cell/spu_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ static inline void spu_load_slb(struct spu *spu, int slbe, struct spu_slb *slb)
__func__, slbe, slb->vsid, slb->esid);

out_be64(&priv2->slb_index_W, slbe);
/* set invalid before writing vsid */
out_be64(&priv2->slb_esid_RW, 0);
/* now it's safe to write the vsid */
out_be64(&priv2->slb_vsid_RW, slb->vsid);
/* setting the new esid makes the entry valid again */
out_be64(&priv2->slb_esid_RW, slb->esid);
}

Expand Down

0 comments on commit 5d1770e

Please sign in to comment.