[PATCH] Remove unnecessary inclusions of asm/a.out.h

From: dhowells
Date: Mon Nov 08 2004 - 09:59:41 EST


The attached patch removes some unnecessary inclusions of asm/a.out.h, thus
allowing an arch to dispense with it.

Signed-Off-By: dhowells@xxxxxxxxxx
---
diffstat aouth-2610rc1mm3.diff
exec.c | 1 -
proc/kcore.c | 1 -
2 files changed, 2 deletions(-)

diff -uNrp /warthog/kernels/linux-2.6.10-rc1-mm3/fs/exec.c linux-2.6.10-rc1-mm3-frv/fs/exec.c
--- /warthog/kernels/linux-2.6.10-rc1-mm3/fs/exec.c 2004-11-05 13:15:39.000000000 +0000
+++ linux-2.6.10-rc1-mm3-frv/fs/exec.c 2004-11-05 14:13:03.769507090 +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-rc1-mm3/fs/proc/kcore.c linux-2.6.10-rc1-mm3-frv/fs/proc/kcore.c
--- /warthog/kernels/linux-2.6.10-rc1-mm3/fs/proc/kcore.c 2004-11-05 13:15:43.000000000 +0000
+++ linux-2.6.10-rc1-mm3-frv/fs/proc/kcore.c 2004-11-05 14:13:03.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>
-
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/