diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-30 15:54:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-30 15:54:55 -0700 |
commit | df31405a9a240e8ea882953ea90736ff57b47643 (patch) | |
tree | 082b1c061f976a4f9031f7e44b77d50a959a28de /arch | |
parent | 7c30b0653f1bcaf04f8abf24cad5c1e642a3da47 (diff) | |
parent | 404dda854b8bb04df72405d5088fa3e6100aef36 (diff) | |
download | kernel_goldelico_gta04-df31405a9a240e8ea882953ea90736ff57b47643.zip kernel_goldelico_gta04-df31405a9a240e8ea882953ea90736ff57b47643.tar.gz kernel_goldelico_gta04-df31405a9a240e8ea882953ea90736ff57b47643.tar.bz2 |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SUNLANCE]: Fix probing problem.
[SPARC64]: Fix X server hangs due to large pages.
Diffstat (limited to 'arch')
-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 8cb0620..af9d81d 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); |