Re: [PATCH] pid: remove unused include

From: jovi zhang
Date: Tue Oct 05 2010 - 23:43:17 EST


On Wed, Oct 6, 2010 at 1:19 AM, Alexey Dobriyan <adobriyan@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/