summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2015-01-28 02:56:51 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2015-01-28 02:56:51 +0000
commit191291d37ea923cfaef0bdc189a35565c3edd567 (patch)
treecc344c2d95130d1b915977fdcbd030a8de494bc4
parent993e583b487643c5d4b872b98843730cd0049c8a (diff)
Remove an unused macro and a stale comment. No functional change.
-rw-r--r--sys/arch/amd64/amd64/pmap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 402c6055e6f..f2ba90f4e4d 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.85 2015/01/15 15:30:17 sf Exp $ */
+/* $OpenBSD: pmap.c,v 1.86 2015/01/28 02:56:50 mlarkin Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -211,16 +211,12 @@ long nkptpmax[] = NKPTPMAX_INITIALIZER;
long nbpd[] = NBPD_INITIALIZER;
pd_entry_t *normal_pdes[] = PDES_INITIALIZER;
-/* int nkpde = NKPTP; */
-
#define PMAP_MAP_TO_HEAD_LOCK() /* null */
#define PMAP_MAP_TO_HEAD_UNLOCK() /* null */
#define PMAP_HEAD_TO_MAP_LOCK() /* null */
#define PMAP_HEAD_TO_MAP_UNLOCK() /* null */
-#define COUNT(x) /* nothing */
-
#define pmap_pte_set(p, n) atomic_swap_64(p, n)
#define pmap_pte_clearbits(p, b) x86_atomic_clearbits_u64(p, b)
#define pmap_pte_setbits(p, b) x86_atomic_setbits_u64(p, b)