diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2009-06-03 02:31:49 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2009-06-03 02:31:49 +0000 |
commit | 83ace60d7843daf6381f0971113d6400429f0f94 (patch) | |
tree | 82cd29be89c45d4a5b33c0420c7b7c27525ac6db /sys/arch | |
parent | 457fb74486ec1dbc0d7ba3d8bb47348160a4c742 (diff) |
droppmap is only necessary (and declared) on MULTIPROCESSOR
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 116579d1448..9b502b9947f 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.139 2009/06/03 00:49:12 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.140 2009/06/03 02:31:48 art Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -1524,7 +1524,9 @@ pmap_destroy(struct pmap *pmap) if (refs > 0) return; +#ifdef MULTIPROCESSOR pmap_tlb_droppmap(pmap); +#endif simple_lock(&pmaps_lock); LIST_REMOVE(pmap, pm_list); |