summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-21 20:55:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-21 20:55:44 +0000
commitb4e5ca7813a1ffcb9b9534dde2e2b44a2df95477 (patch)
treecb72d7a7cb59306c218e5b9da42f35e9fdcb52bb /sys/arch/m88k/include
parentbcae92f27f631c876b789e4b6aeaaf90514465a0 (diff)
kvtopte() is not used anymore.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/mmu.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/m88k/include/mmu.h b/sys/arch/m88k/include/mmu.h
index 2ddddbea2d5..338050a8f6a 100644
--- a/sys/arch/m88k/include/mmu.h
+++ b/sys/arch/m88k/include/mmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmu.h,v 1.7 2006/05/20 22:33:16 miod Exp $ */
+/* $OpenBSD: mmu.h,v 1.8 2006/05/21 20:55:43 miod Exp $ */
/*
* This file bears almost no resemblance to the original m68k file,
@@ -217,10 +217,4 @@ invalidate_pte(pt_entry_t *pte)
return oldpte;
}
-extern vaddr_t kmapva;
-
-#define kvtopte(va) \
- ((pt_entry_t *)(PG_PFNUM(*((sdt_entry_t *)kmapva + \
- SDTIDX(va) + SDT_ENTRIES)) << PDT_SHIFT) + PDTIDX(va))
-
#endif /* __MACHINE_MMU_H__ */