diff options
author | alc <alc@FreeBSD.org> | 2002-11-11 05:17:34 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-11-11 05:17:34 +0000 |
commit | 78766a7b7aa74fa44d582aa014484403872cb079 (patch) | |
tree | 8d89b7506498433c395030fe085076705f8a6df2 /sys/ia64 | |
parent | 8c44e1c3f9177a8442c00fad854cfda6db6d220a (diff) | |
download | FreeBSD-src-78766a7b7aa74fa44d582aa014484403872cb079.zip FreeBSD-src-78766a7b7aa74fa44d582aa014484403872cb079.tar.gz |
- Clear the page's PG_WRITEABLE flag in the i386's pmap_changebit()
if we're removing write access from the page's PTEs.
- Export pmap_remove_all() on alpha, i386, and ia64. (It's already
exported on sparc64.)
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/pmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index ad02c93..a36a776 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -257,7 +257,6 @@ static pv_entry_t get_pv_entry(void); static void ia64_protection_init(void); static void pmap_invalidate_all(pmap_t pmap); -static void pmap_remove_all(vm_page_t m); static void pmap_enter_quick(pmap_t pmap, vm_offset_t va, vm_page_t m); vm_offset_t @@ -1537,7 +1536,7 @@ pmap_remove(pmap_t pmap, vm_offset_t sva, vm_offset_t eva) * pmap_remove (slow...) */ -static void +void pmap_remove_all(vm_page_t m) { pmap_t oldpmap; |