Author: kib
Date: Wed Sep 16 15:48:32 2020
New Revision: 365806
URL: https://svnweb.freebsd.org/changeset/base/365806

Log:
  MFC r365515:
  Move MAP_32BIT_MAX_ADDR definition to sys/mman.h.

Modified:
  stable/12/sys/sys/mman.h
  stable/12/sys/vm/vm_map.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/sys/mman.h
==============================================================================
--- stable/12/sys/sys/mman.h    Wed Sep 16 15:45:35 2020        (r365805)
+++ stable/12/sys/sys/mman.h    Wed Sep 16 15:48:32 2020        (r365806)
@@ -245,6 +245,9 @@ void        shm_drop(struct shmfd *shmfd);
 int    shm_dotruncate(struct shmfd *shmfd, off_t length);
 
 extern struct fileops shm_ops;
+
+#define        MAP_32BIT_MAX_ADDR      ((vm_offset_t)1 << 31)
+
 #else /* !_KERNEL */
 
 __BEGIN_DECLS

Modified: stable/12/sys/vm/vm_map.c
==============================================================================
--- stable/12/sys/vm/vm_map.c   Wed Sep 16 15:45:35 2020        (r365805)
+++ stable/12/sys/vm/vm_map.c   Wed Sep 16 15:48:32 2020        (r365806)
@@ -1787,8 +1787,6 @@ SYSCTL_LONG(_vm, OID_AUTO, aslr_restarts, CTLFLAG_RD,
     &aslr_restarts, 0,
     "Number of aslr failures");
 
-#define        MAP_32BIT_MAX_ADDR      ((vm_offset_t)1 << 31)
-
 /*
  * Searches for the specified amount of free space in the given map with the
  * specified alignment.  Performs an address-ordered, first-fit search from
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to