* [PATCH] Don't include linux/a.out.h unnecessarily
@ 2005-01-04 19:51 David Howells
2005-01-04 21:22 ` Nathan Lynch
0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2005-01-04 19:51 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Don't include linux/a.out.h unnecessarily
2005-01-04 19:51 [PATCH] Don't include linux/a.out.h unnecessarily David Howells
@ 2005-01-04 21:22 ` Nathan Lynch
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Lynch @ 2005-01-04 21:22 UTC (permalink / raw)
To: David Howells; +Cc: Andrew Morton, lkml
On Tue, 2005-01-04 at 13:51, David Howells wrote:
> 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.
Because it breaks the alpha build. There's a big #ifdef __alpha__ block
in search_binary_handler() which uses definitions from asm/a.out.h.
Sorry, I should have cc'd you on my original report:
http://article.gmane.org/gmane.linux.kernel/263714
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-04 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04 19:51 [PATCH] Don't include linux/a.out.h unnecessarily David Howells
2005-01-04 21:22 ` Nathan Lynch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).