[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101005171911.GA6075@core2.telecom.by>
Date: Tue, 5 Oct 2010 20:19:11 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: jovi zhang <bookjovi@...il.com>
Cc: andre.goddard@...il.com, hedi@....com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pid: remove unused include
On Tue, Oct 05, 2010 at 07:20:26PM +0800, jovi zhang wrote:
> remove unused include of pid.c
> --- a/kernel/pid.c
> +++ b/kernel/pid.c
> @@ -27,15 +27,12 @@
> */
>
> #include <linux/mm.h>
> -#include <linux/module.h>
This one is needed for EXPORT_SYMBOL_GPL.
> -#include <linux/slab.h>
This one is for kzalloc()
> #include <linux/init.h>
> #include <linux/rculist.h>
> #include <linux/bootmem.h>
> #include <linux/hash.h>
> #include <linux/pid_namespace.h>
> #include <linux/init_task.h>
> -#include <linux/syscalls.h>
This one can go, sys_wait4() usage was removed.
Have you checked compilation?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists