diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2002-02-26 20:34:52 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2002-02-26 20:34:52 +0000 |
| commit | 08b38b1ff7c8366fa280fdbddbb2686de3303bbb (patch) | |
| tree | b2a0fd80911073b70d319a9c9b04d2d0c173a19e | |
| parent | 181df8c9d4825b38a19435ab8fc3fd9ecba27630 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/pmap.c | 2 | ||||
| -rw-r--r-- | sys/i386/i386/pmap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 8dfacaaa9e0c..a68ce557bb2a 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -575,7 +575,7 @@ pmap_invalidate_page(pmap_t pmap, vm_offset_t va) * interrupts disabled here. * XXX we may need to hold schedlock to get a coherent pm_active */ - if (td->td_critnest == 1 && td->td_savecrit != (critical_t)-1) + if (td->td_critnest == 1) cpu_critical_exit(td->td_savecrit); if (pmap->pm_active == -1 || pmap->pm_active == all_cpus) { invlpg(va); /* global */ diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 8dfacaaa9e0c..a68ce557bb2a 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -575,7 +575,7 @@ pmap_invalidate_page(pmap_t pmap, vm_offset_t va) * interrupts disabled here. * XXX we may need to hold schedlock to get a coherent pm_active */ - if (td->td_critnest == 1 && td->td_savecrit != (critical_t)-1) + if (td->td_critnest == 1) cpu_critical_exit(td->td_savecrit); if (pmap->pm_active == -1 || pmap->pm_active == all_cpus) { invlpg(va); /* global */ |
