Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys MAP_COPY moved to compat



details:   https://anonhg.NetBSD.org/src/rev/a1c16854ad3f
branches:  trunk
changeset: 353315:a1c16854ad3f
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 29 01:17:47 2017 +0000

description:
MAP_COPY moved to compat

diffstat:

 sys/sys/mman.h |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (25 lines):

diff -r 414c30ec4d48 -r a1c16854ad3f sys/sys/mman.h
--- a/sys/sys/mman.h    Sat Apr 29 01:15:40 2017 +0000
+++ b/sys/sys/mman.h    Sat Apr 29 01:17:47 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mman.h,v 1.50 2016/06/01 00:46:44 christos Exp $       */
+/*     $NetBSD: mman.h,v 1.51 2017/04/29 01:17:47 christos Exp $       */
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -70,14 +70,7 @@
  */
 #define        MAP_SHARED      0x0001  /* share changes */
 #define        MAP_PRIVATE     0x0002  /* changes are private */
-
-#ifdef _KERNEL
-/*
- * Deprecated flag; these are treated as MAP_PRIVATE internally by
- * the kernel.
- */
-#define        MAP_COPY        0x0004  /* "copy" region at mmap time */
-#endif
+       /* old MAP_COPY 0x0004     "copy" region at mmap time */
 
 /*
  * Other flags



Home | Main Index | Thread Index | Old Index