summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-05-21 20:55:43 +0000
committermiod <miod@openbsd.org>2006-05-21 20:55:43 +0000
commitf82f7ca6cfb08bd993d8ed96010f4d2db4201afc (patch)
tree30ecf1c438a0f9d4874c217fa4bdee2fe48059b4
parentReplace lockmgr with rwlock; help and ok marco@ (diff)
downloadwireguard-openbsd-f82f7ca6cfb08bd993d8ed96010f4d2db4201afc.tar.xz
wireguard-openbsd-f82f7ca6cfb08bd993d8ed96010f4d2db4201afc.zip
kvtopte() is not used anymore.
-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__ */