diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2023-01-01 19:49:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2023-01-01 19:49:19 +0000 |
commit | 1ff7dc52a095147f32c3770507306cb4954cd953 (patch) | |
tree | 427d0cd16515339d4afaf77e2c48419d27d4b87f /sys/uvm | |
parent | 65260932930d8ba3da4f750277e7d68063f869cc (diff) |
With the introduction of the PMAP_PREFER_{ALIGN,OFFSET} macros a long time ago,
there are actually no more uses of the PMAP_PREFER() macro left in the kernel.
Remove that macro but keep PMAP_PREFER as a simple #define for it to let uvm
knows the PMAP_PREFER_{ALIGN,OFFSET} macros are available.
ok mpi@
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_pmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h index 88bcc0d6fdc..8e31a5e0527 100644 --- a/sys/uvm/uvm_pmap.h +++ b/sys/uvm/uvm_pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pmap.h,v 1.31 2022/09/10 20:35:29 miod Exp $ */ +/* $OpenBSD: uvm_pmap.h,v 1.32 2023/01/01 19:49:18 miod Exp $ */ /* $NetBSD: uvm_pmap.h,v 1.1 2000/06/27 09:00:14 mrg Exp $ */ /* @@ -104,7 +104,6 @@ typedef struct pmap_statistics *pmap_statistics_t; #ifndef PMAP_PREFER #define PMAP_PREFER_ALIGN() 0 #define PMAP_PREFER_OFFSET(off) 0 -#define PMAP_PREFER(addr, off) (addr) #endif #ifdef _KERNEL |