diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2023-04-13 15:23:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2023-04-13 15:23:24 +0000 |
commit | af3adb43eb6f0959769cc1a4ad5a4b3bc1062440 (patch) | |
tree | 1aadff315af3f281cbf408baad557087ff90afa2 /sys/arch/alpha | |
parent | 03c94cbf30ab393b7657fda3fa4ad82799b06c61 (diff) |
pmap_copy() has never, ever, been implemented in any of the platforms OpenBSD
ever ran on, and it's unlikely to ever be implemented, so remove it.
ok jsg@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/pmap.c | 13 | ||||
-rw-r--r-- | sys/arch/alpha/include/pmap.h | 3 |
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c index e07a65e3be7..695ca6f090d 100644 --- a/sys/arch/alpha/alpha/pmap.c +++ b/sys/arch/alpha/alpha/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.90 2023/04/11 00:45:07 jsg Exp $ */ +/* $OpenBSD: pmap.c,v 1.91 2023/04/13 15:23:21 miod Exp $ */ /* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */ /*- @@ -2017,17 +2017,6 @@ pmap_extract(pmap_t pmap, vaddr_t va, paddr_t *pap) } /* - * pmap_copy: [ INTERFACE ] - * - * Copy the mapping range specified by src_addr/len - * from the source map to the range dst_addr/len - * in the destination map. - * - * This routine is only advisory and need not do anything. - */ -/* call deleted in <machine/pmap.h> */ - -/* * pmap_collect: [ INTERFACE ] * * Garbage collects the physical map system for pages which are no diff --git a/sys/arch/alpha/include/pmap.h b/sys/arch/alpha/include/pmap.h index 0269bd3d06e..5eddbfad573 100644 --- a/sys/arch/alpha/include/pmap.h +++ b/sys/arch/alpha/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.44 2023/02/06 11:16:22 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.45 2023/04/13 15:23:21 miod Exp $ */ /* $NetBSD: pmap.h,v 1.37 2000/11/19 03:16:35 thorpej Exp $ */ /*- @@ -155,7 +155,6 @@ void pmap_do_tlb_shootdown(struct cpu_info *, struct trapframe *); #define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count) #define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count) -#define pmap_copy(dp, sp, da, l, sa) /* nothing */ #define pmap_update(pmap) /* nothing (yet) */ #define pmap_proc_iflush(p, va, len) /* nothing */ |