Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39321
b: refs/heads/master
c: 21c935e
h: refs/heads/master
i:
  39319: e933e53
v: v3
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Oct 11, 2006
1 parent 8cdae0c commit dbcc4db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 1875a48fed4239769bacb039175a52e42b0ebd71
refs/heads/master: 21c935e5298a3bc4f16cdff7ce3b1efab92b995e
5 changes: 1 addition & 4 deletions trunk/arch/um/kernel/skas/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ static int init_stub_pte(struct mm_struct *mm, unsigned long proc,
#endif

*pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT));
/* This is wrong for the code page, but it doesn't matter since the
* stub is mapped by hand with the correct permissions.
*/
*pte = pte_mkwrite(*pte);
*pte = pte_mkread(*pte);
return(0);

out_pmd:
Expand Down

0 comments on commit dbcc4db

Please sign in to comment.