From b4e5ca7813a1ffcb9b9534dde2e2b44a2df95477 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 21 May 2006 20:55:44 +0000 Subject: kvtopte() is not used anymore. --- sys/arch/m88k/include/mmu.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/arch/m88k/include') 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__ */ -- cgit v1.2.3