From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] add include list.h in binfmts.h
Date: Mon, 10 Nov 2008 16:40:08 -0800 [thread overview]
Message-ID: <4918D468.6090908@ct.jp.nec.com> (raw)
In-Reply-To: <20081110161238.2f1ec110.akpm@linux-foundation.org>
Andrew Morton wrote:
> On Wed, 29 Oct 2008 18:03:26 -0700
> Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
>
>> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>>
>> linux_binfmt uses list_head, so list.h is needed.
>>
>> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>> ---
>> include/linux/binfmts.h | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
>> index 7394b5b..06c1123 100644
>> --- a/include/linux/binfmts.h
>> +++ b/include/linux/binfmts.h
>> @@ -1,6 +1,7 @@
>> #ifndef _LINUX_BINFMTS_H
>> #define _LINUX_BINFMTS_H
>>
>> +#include <linux/list.h>
>> #include <linux/capability.h>
>>
>> struct pt_regs;
>
> Did this fix a build error which you were seeing?
I just noticed it modifying arch/x86/kernel/signal_32.c headers.
I don't know any case to fail build kernel.
The file signal_32.c includes <linux/list.h> first, and To remove
including list.h causes a build error.
thanks,
Hiroshi Shimamoto
prev parent reply other threads:[~2008-11-11 0:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 1:03 [PATCH] add include list.h in binfmts.h Hiroshi Shimamoto
2008-11-11 0:12 ` Andrew Morton
2008-11-11 0:40 ` Hiroshi Shimamoto [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4918D468.6090908@ct.jp.nec.com \
--to=h-shimamoto@ct.jp.nec.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.