Author: hselasky
Date: Thu Apr  6 10:52:52 2017
New Revision: 316565
URL: https://svnweb.freebsd.org/changeset/base/316565

Log:
  Define VM_READ, VM_WRITE and VM_EXEC in the LinuxKPI.
  
  MFC after:            1 week
  Sponsored by:         Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/mm.h

Modified: head/sys/compat/linuxkpi/common/include/linux/mm.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/mm.h  Thu Apr  6 10:29:54 
2017        (r316564)
+++ head/sys/compat/linuxkpi/common/include/linux/mm.h  Thu Apr  6 10:52:52 
2017        (r316565)
@@ -50,6 +50,10 @@
  */
 CTASSERT((VM_PROT_ALL & -(1 << 8)) == 0);
 
+#define        VM_READ                 VM_PROT_READ
+#define        VM_WRITE                VM_PROT_WRITE
+#define        VM_EXEC                 VM_PROT_EXECUTE
+
 #define        VM_PFNINTERNAL          (1 << 8)        /* FreeBSD private flag 
to vm_insert_pfn() */
 #define        VM_MIXEDMAP             (1 << 9)
 #define        VM_NORESERVE            (1 << 10)
_______________________________________________
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