diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 16:31:36 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 16:31:36 +0200 |
commit | 31e77ac55f18db0ec1c724840927562ef3093ef6 (patch) | |
tree | 01bb0ac2868debd2246df4c5e5617a2ce9f09600 /arch/sparc64/mm/generic.c | |
parent | [GFS2] Tidy up locking code (diff) | |
parent | Linux 2.6.18-rc6 (diff) | |
download | linux-31e77ac55f18db0ec1c724840927562ef3093ef6.tar.xz linux-31e77ac55f18db0ec1c724840927562ef3093ef6.zip |
Merge branch 'master' into gfs2
Diffstat (limited to 'arch/sparc64/mm/generic.c')
-rw-r--r-- | arch/sparc64/mm/generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/mm/generic.c b/arch/sparc64/mm/generic.c index 8cb06205d265..af9d81db0b38 100644 --- a/arch/sparc64/mm/generic.c +++ b/arch/sparc64/mm/generic.c @@ -69,6 +69,8 @@ static inline void io_remap_pte_range(struct mm_struct *mm, pte_t * pte, } else offset += PAGE_SIZE; + if (pte_write(entry)) + entry = pte_mkdirty(entry); do { BUG_ON(!pte_none(*pte)); set_pte_at(mm, address, pte, entry); |