From: David Howells <dhowells@redhat.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Don't include linux/a.out.h unnecessarily
Date: Tue, 04 Jan 2005 19:51:23 +0000 [thread overview]
Message-ID: <17812.1104868283@redhat.com> (raw)
The attached patch prevents unnecessary inclusion of linux/a.out.h since not
all archs support AOUT and thus may not have asm/a.out.h.
There was a patch included for this previously, but it seems to have been
dropped.
Signed-Off-By: David Howells <dhowells@redhat.com>
---
warthog>diffstat aouth-2610mm1.diff
exec.c | 1 -
proc/kcore.c | 1 -
2 files changed, 2 deletions(-)
diff -uNrp /warthog/kernels/linux-2.6.10-mm1/fs/exec.c linux-2.6.10-mm1-frv/fs/exec.c
--- /warthog/kernels/linux-2.6.10-mm1/fs/exec.c 2005-01-04 11:15:20.000000000 +0000
+++ linux-2.6.10-mm1-frv/fs/exec.c 2005-01-04 13:23:24.000000000 +0000
@@ -26,7 +26,6 @@
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/mman.h>
-#include <linux/a.out.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/smp_lock.h>
diff -uNrp /warthog/kernels/linux-2.6.10-mm1/fs/proc/kcore.c linux-2.6.10-mm1-frv/fs/proc/kcore.c
--- /warthog/kernels/linux-2.6.10-mm1/fs/proc/kcore.c 2005-01-04 11:15:21.000000000 +0000
+++ linux-2.6.10-mm1-frv/fs/proc/kcore.c 2005-01-04 16:36:31.000000000 +0000
@@ -13,7 +13,6 @@
#include <linux/mm.h>
#include <linux/proc_fs.h>
#include <linux/user.h>
-#include <linux/a.out.h>
#include <linux/elf.h>
#include <linux/elfcore.h>
#include <linux/vmalloc.h>
next reply other threads:[~2005-01-04 19:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-04 19:51 David Howells [this message]
2005-01-04 21:22 ` Nathan Lynch
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=17812.1104868283@redhat.com \
--to=dhowells@redhat.com \
--cc=akpm@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome