aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-12-31 20:32:53 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-12-31 20:32:53 +0000
commit587bd8bf0ae036cfad190a50fb4c2dc6d3e2fe12 (patch)
tree6da839511a05c7c0ef4ff97b2ee65c8016537eb8 /sys
parent474c19561b47fc0343f856dbfcf8f0d79dd05cc3 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/pmap.c8
-rw-r--r--sys/i386/i386/pmap.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 881a2ccfb748..cdca6e4200cf 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -700,11 +700,7 @@ pmap_kenter(vm_offset_t va, vm_offset_t pa)
pte = vtopte(va);
opte = *pte;
*pte = npte;
-#ifdef SMP
- invlpg(va);
-#else
invltlb_1pg(va);
-#endif
}
/*
@@ -717,11 +713,7 @@ pmap_kremove(vm_offset_t va)
pte = vtopte(va);
*pte = 0;
-#ifdef SMP
- invlpg(va);
-#else
invltlb_1pg(va);
-#endif
}
/*
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 881a2ccfb748..cdca6e4200cf 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -700,11 +700,7 @@ pmap_kenter(vm_offset_t va, vm_offset_t pa)
pte = vtopte(va);
opte = *pte;
*pte = npte;
-#ifdef SMP
- invlpg(va);
-#else
invltlb_1pg(va);
-#endif
}
/*
@@ -717,11 +713,7 @@ pmap_kremove(vm_offset_t va)
pte = vtopte(va);
*pte = 0;
-#ifdef SMP
- invlpg(va);
-#else
invltlb_1pg(va);
-#endif
}
/*