git: 0ddd32b617c7 - main - vm: MAP_32BIT_MAX_ADDR defined in sys/mman.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Aug 2023 17:20:39 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=0ddd32b617c761cac28fa638c49475dbadbfd1e1 commit 0ddd32b617c761cac28fa638c49475dbadbfd1e1 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-08-14 17:18:30 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-08-14 17:18:30 +0000 vm: MAP_32BIT_MAX_ADDR defined in sys/mman.h Reviewed by: kib Differential revision: https://reviews.freebsd.org/D41434 --- sys/vm/vm_mmap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index d904c4f38e40..64287f096332 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -108,10 +108,6 @@ static int imply_prot_max = 0; SYSCTL_INT(_vm, OID_AUTO, imply_prot_max, CTLFLAG_RWTUN, &imply_prot_max, 0, "Imply maximum page protections in mmap() when none are specified"); -#ifdef MAP_32BIT -#define MAP_32BIT_MAX_ADDR ((vm_offset_t)1 << 31) -#endif - _Static_assert(MAXPAGESIZES <= 4, "MINCORE_SUPER too narrow"); #ifndef _SYS_SYSPROTO_H_