diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-21 20:55:44 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-21 20:55:44 +0000 |
commit | b4e5ca7813a1ffcb9b9534dde2e2b44a2df95477 (patch) | |
tree | cb72d7a7cb59306c218e5b9da42f35e9fdcb52bb /sys/arch | |
parent | bcae92f27f631c876b789e4b6aeaaf90514465a0 (diff) |
kvtopte() is not used anymore.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m88k/include/mmu.h | 8 |
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__ */ |