Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Drop <sys/vadvise.h>
details: https://anonhg.NetBSD.org/src/rev/1d078cf64b57
branches: trunk
changeset: 358279:1d078cf64b57
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Dec 19 19:10:13 2017 +0000
description:
Drop <sys/vadvise.h>
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
diffstat:
distrib/sets/lists/comp/mi | 4 +-
sys/sys/Makefile | 4 +-
sys/sys/vadvise.h | 60 ----------------------------------------------
3 files changed, 4 insertions(+), 64 deletions(-)
diffs (100 lines):
diff -r 49a85a23ae67 -r 1d078cf64b57 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Tue Dec 19 19:04:12 2017 +0000
+++ b/distrib/sets/lists/comp/mi Tue Dec 19 19:10:13 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2162 2017/12/10 20:38:14 bouyer Exp $
+# $NetBSD: mi,v 1.2163 2017/12/19 19:10:13 kamil Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -3004,7 +3004,7 @@
./usr/include/sys/user.h comp-obsolete obsolete
./usr/include/sys/utsname.h comp-c-include
./usr/include/sys/uuid.h comp-c-include
-./usr/include/sys/vadvise.h comp-c-include
+./usr/include/sys/vadvise.h comp-obsolete
./usr/include/sys/vcmd.h comp-obsolete obsolete
./usr/include/sys/verified_exec.h comp-c-include
./usr/include/sys/videoio.h comp-c-include
diff -r 49a85a23ae67 -r 1d078cf64b57 sys/sys/Makefile
--- a/sys/sys/Makefile Tue Dec 19 19:04:12 2017 +0000
+++ b/sys/sys/Makefile Tue Dec 19 19:10:13 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.163 2017/11/30 05:47:24 riastradh Exp $
+# $NetBSD: Makefile,v 1.164 2017/12/19 19:10:13 kamil Exp $
.include <bsd.own.mk>
@@ -44,7 +44,7 @@
timex.h tls.h trace.h tree.h tty.h ttychars.h ttycom.h \
ttydefaults.h ttydev.h types.h \
ucontext.h ucred.h uio.h un.h unistd.h unpcb.h utsname.h uuid.h \
- vadvise.h verified_exec.h videoio.h vmmeter.h vnode.h vnode_if.h \
+ verified_exec.h videoio.h vmmeter.h vnode.h vnode_if.h \
wait.h wapbl.h wapbl_replay.h wdog.h xattr.h
INCSYMLINKS=\
diff -r 49a85a23ae67 -r 1d078cf64b57 sys/sys/vadvise.h
--- a/sys/sys/vadvise.h Tue Dec 19 19:04:12 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/* $NetBSD: vadvise.h,v 1.11 2016/01/22 23:46:07 dholland Exp $ */
-
-/*-
- * Copyright (c) 1982, 1986, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)vadvise.h 8.1 (Berkeley) 6/2/93
- */
-
-#ifndef _SYS_VADVISE_H_
-#define _SYS_VADVISE_H_
-
-#include <sys/cdefs.h>
-
-/*
- * Parameters to vadvise() to tell system of particular paging
- * behaviour:
- * VA_NORM Normal strategy
- * VA_ANOM Sampling page behaviour is not a win, don't bother
- * Suitable during GCs in LISP, or sequential or random
- * page referencing.
- * VA_SEQL Sequential behaviour expected.
- * VA_FLUSH Invalidate all page table entries.
- */
-#define VA_NORM 0
-#define VA_ANOM 1
-#define VA_SEQL 2
-#define VA_FLUSH 3
-
-#ifndef _KERNEL
-__BEGIN_DECLS
-int vadvise(int);
-__END_DECLS
-#endif
-
-#endif /* !_SYS_VADVISE_H_ */
Home |
Main Index |
Thread Index |
Old Index