Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109316
b: refs/heads/master
c: 3d9b7a5
h: refs/heads/master
v: v3
  • Loading branch information
Bernd Schmidt authored and Bryan Wu committed Aug 25, 2008
1 parent 7c8d236 commit daa50e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 225f7e1eb56ad054c328ae1b11601ea4de7488ba
refs/heads/master: 3d9b7a5ce534f3963afcf8f4777267e5899fe007
6 changes: 4 additions & 2 deletions trunk/include/asm-blackfin/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,10 @@ static inline void protect_page(struct mm_struct *mm, unsigned long addr,

static inline void update_protections(struct mm_struct *mm)
{
flush_switched_cplbs();
set_mask_dcplbs(mm->context.page_rwx_mask);
if (mm->context.page_rwx_mask == current_rwx_mask) {
flush_switched_cplbs();
set_mask_dcplbs(mm->context.page_rwx_mask);
}
}
#endif

Expand Down

0 comments on commit daa50e3

Please sign in to comment.