summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-02-27 01:48:17 +0000
committerdillon <dillon@FreeBSD.org>2002-02-27 01:48:17 +0000
commit8718c474318c65130b0416a3fdab59e34e4233f7 (patch)
tree79d12da54ba753c1d4c0d7c2a15dd3406c025e37 /sys/amd64
parentb81cd84d30cf0e3c2fc70737cb8a9e2ba43b3bde (diff)
downloadFreeBSD-src-8718c474318c65130b0416a3fdab59e34e4233f7.zip
FreeBSD-src-8718c474318c65130b0416a3fdab59e34e4233f7.tar.gz
didn't quite undo the last reversion. This gets it.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index a68ce55..ba3ee22 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -609,7 +609,7 @@ pmap_invalidate_all(pmap_t pmap)
* 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) {
invltlb(); /* global */
OpenPOWER on IntegriCloud