diff options
Diffstat (limited to 'i386/intel')
-rw-r--r-- | i386/intel/pmap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index b51aed9a..505b2063 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -1648,8 +1648,10 @@ void pmap_page_protect( /* * Remove the mapping, collecting any modify bits. */ - if (*pte & INTEL_PTE_WIRED) - panic("pmap_page_protect removing a wired page"); + + if (*pte & INTEL_PTE_WIRED) { + pmap->stats.wired_count--; + } { int i = ptes_per_vm_page; |