[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTikP-7U=KC3RsZoFjFW2WHFst20C+8drMDnbdGf3@mail.gmail.com>
Date: Wed, 6 Oct 2010 11:43:09 +0800
From: jovi zhang <bookjovi@...il.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: andre.goddard@...il.com, hedi@....com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pid: remove unused include
On Wed, Oct 6, 2010 at 1:19 AM, Alexey Dobriyan <adobriyan@...il.com> wrote:
> 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?
>
Sorry, It's my fault, I just compile kernel/pid.o.
I'm kicking myself for did this.
--
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