mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-15 22:41:23 +00:00
vm: MAP_32BIT_MAX_ADDR defined in sys/mman.h
Reviewed by: kib Differential revision: https://reviews.freebsd.org/D41434
This commit is contained in:
parent
8e6654a6a5
commit
0ddd32b617
|
@ -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_
|
||||
|
|
Loading…
Reference in a new issue