Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Do not uselessly include <sys/malloc.h>.
details: https://anonhg.NetBSD.org/src/rev/90272800f7fe
branches: trunk
changeset: 333575:90272800f7fe
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Nov 09 17:48:07 2014 +0000
description:
Do not uselessly include <sys/malloc.h>.
diffstat:
sys/compat/common/compat_util.c | 5 ++---
sys/compat/common/if_43.c | 5 ++---
sys/compat/common/kern_time_50.c | 5 ++---
sys/compat/common/uipc_syscalls_43.c | 5 ++---
sys/compat/linux/arch/alpha/linux_machdep.c | 5 ++---
sys/compat/linux/arch/alpha/linux_pipe.c | 5 ++---
sys/compat/linux/arch/arm/linux_machdep.c | 5 ++---
sys/compat/linux/arch/arm/linux_ptrace.c | 5 ++---
sys/compat/linux/arch/i386/linux_machdep.c | 5 ++---
sys/compat/linux/arch/i386/linux_ptrace.c | 5 ++---
sys/compat/linux/arch/mips/linux_machdep.c | 5 ++---
sys/compat/linux/arch/mips/linux_ptrace.c | 5 ++---
sys/compat/linux/arch/powerpc/linux_machdep.c | 5 ++---
sys/compat/linux/arch/powerpc/linux_ptrace.c | 5 ++---
sys/compat/linux/common/linux_exec.c | 5 ++---
sys/compat/linux/common/linux_exec_aout.c | 5 ++---
sys/compat/linux/common/linux_fadvise64.c | 5 ++---
sys/compat/linux/common/linux_fadvise64_64.c | 5 ++---
sys/compat/linux/common/linux_file.c | 5 ++---
sys/compat/linux/common/linux_llseek.c | 5 ++---
sys/compat/linux/common/linux_misc_notalpha.c | 5 ++---
sys/compat/linux/common/linux_pipe.c | 5 ++---
sys/compat/linux/common/linux_sched.c | 5 ++---
sys/compat/linux/common/linux_signal.c | 5 ++---
sys/compat/linux/common/linux_socket.c | 5 ++---
sys/compat/linux/common/linux_socketcall.c | 5 ++---
sys/compat/linux/common/linux_uselib.c | 5 ++---
sys/compat/linux32/common/linux32_misc.c | 5 ++---
sys/kern/kern_exec.c | 5 ++---
29 files changed, 58 insertions(+), 87 deletions(-)
diffs (truncated from 717 to 300 lines):
diff -r a556c73d3022 -r 90272800f7fe sys/compat/common/compat_util.c
--- a/sys/compat/common/compat_util.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/common/compat_util.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_util.c,v 1.45 2013/12/17 20:45:22 martin Exp $ */
+/* $NetBSD: compat_util.c,v 1.46 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_util.c,v 1.45 2013/12/17 20:45:22 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_util.c,v 1.46 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -70,7 +70,6 @@
#include <sys/exec.h>
#include <sys/ioctl.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/vnode.h>
#include <sys/syslog.h>
#include <sys/mount.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/common/if_43.c
--- a/sys/compat/common/if_43.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/common/if_43.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_43.c,v 1.8 2014/09/05 09:21:54 matt Exp $ */
+/* $NetBSD: if_43.c,v 1.9 2014/11/09 17:48:07 maxv Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.8 2014/09/05 09:21:54 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.9 2014/11/09 17:48:07 maxv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -49,7 +49,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
-#include <sys/malloc.h>
#include <sys/syslog.h>
#include <sys/unistd.h>
#include <sys/resourcevar.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/common/kern_time_50.c
--- a/sys/compat/common/kern_time_50.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/common/kern_time_50.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_time_50.c,v 1.27 2014/04/04 18:17:36 njoly Exp $ */
+/* $NetBSD: kern_time_50.c,v 1.28 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time_50.c,v 1.27 2014/04/04 18:17:36 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time_50.c,v 1.28 2014/11/09 17:48:07 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_aio.h"
@@ -50,7 +50,6 @@
#include <sys/proc.h>
#include <sys/uio.h>
#include <sys/dirent.h>
-#include <sys/malloc.h>
#include <sys/kauth.h>
#include <sys/time.h>
#include <sys/timex.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/common/uipc_syscalls_43.c
--- a/sys/compat/common/uipc_syscalls_43.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/common/uipc_syscalls_43.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_syscalls_43.c,v 1.45 2014/09/05 09:21:54 matt Exp $ */
+/* $NetBSD: uipc_syscalls_43.c,v 1.46 2014/11/09 17:48:07 maxv Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_43.c,v 1.45 2014/09/05 09:21:54 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_43.c,v 1.46 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -45,7 +45,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
-#include <sys/malloc.h>
#include <sys/syslog.h>
#include <sys/unistd.h>
#include <sys/resourcevar.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/alpha/linux_machdep.c
--- a/sys/compat/linux/arch/alpha/linux_machdep.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_machdep.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.49 2011/11/18 04:07:43 christos Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.50 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.49 2011/11/18 04:07:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.50 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,7 +48,6 @@
#include <sys/exec.h>
#include <sys/file.h>
#include <sys/callout.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/msgbuf.h>
#include <sys/mount.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/alpha/linux_pipe.c
--- a/sys/compat/linux/arch/alpha/linux_pipe.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_pipe.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_pipe.c,v 1.16 2014/06/01 13:42:12 njoly Exp $ */
+/* $NetBSD: linux_pipe.c,v 1.17 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_pipe.c,v 1.16 2014/06/01 13:42:12 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_pipe.c,v 1.17 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mman.h>
#include <sys/mount.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/arm/linux_machdep.c
--- a/sys/compat/linux/arch/arm/linux_machdep.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/arm/linux_machdep.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.31 2013/08/18 07:01:45 matt Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.32 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.31 2013/08/18 07:01:45 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.32 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -44,7 +44,6 @@
#include <sys/exec.h>
#include <sys/file.h>
#include <sys/callout.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/msgbuf.h>
#include <sys/mount.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/arm/linux_ptrace.c
--- a/sys/compat/linux/arch/arm/linux_ptrace.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/arm/linux_ptrace.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.17 2012/09/04 00:08:59 matt Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.18 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,10 +31,9 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.17 2012/09/04 00:08:59 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.18 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/ptrace.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/i386/linux_machdep.c
--- a/sys/compat/linux/arch/i386/linux_machdep.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/i386/linux_machdep.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.158 2014/02/19 21:23:02 dsl Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.159 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1995, 2000, 2008, 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.158 2014/02/19 21:23:02 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.159 2014/11/09 17:48:07 maxv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vm86.h"
@@ -48,7 +48,6 @@
#include <sys/exec.h>
#include <sys/file.h>
#include <sys/callout.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/msgbuf.h>
#include <sys/mount.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/i386/linux_ptrace.c
--- a/sys/compat/linux/arch/i386/linux_ptrace.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/i386/linux_ptrace.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.29 2014/09/21 16:58:42 christos Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.30 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,10 +30,9 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.29 2014/09/21 16:58:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.30 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/ptrace.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/mips/linux_machdep.c
--- a/sys/compat/linux/arch/mips/linux_machdep.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/mips/linux_machdep.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.42 2011/02/20 08:14:10 matt Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.43 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.42 2011/02/20 08:14:10 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.43 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -43,7 +43,6 @@
#include <sys/exec.h>
#include <sys/file.h>
#include <sys/callout.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/msgbuf.h>
#include <sys/mount.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/mips/linux_ptrace.c
--- a/sys/compat/linux/arch/mips/linux_ptrace.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/mips/linux_ptrace.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.9 2008/11/12 12:36:10 ad Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.10 2014/11/09 17:48:07 maxv Exp $ */
/*-
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -30,10 +30,9 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.9 2008/11/12 12:36:10 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.10 2014/11/09 17:48:07 maxv Exp $");
#include <sys/param.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/ptrace.h>
diff -r a556c73d3022 -r 90272800f7fe sys/compat/linux/arch/powerpc/linux_machdep.c
--- a/sys/compat/linux/arch/powerpc/linux_machdep.c Sun Nov 09 17:39:37 2014 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_machdep.c Sun Nov 09 17:48:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.47 2013/01/27 14:47:37 mbalmer Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.48 2014/11/09 17:48:08 maxv Exp $ */
Home |
Main Index |
Thread Index |
Old Index