Messages in this thread Patch in this message | | | From | Bjorn Helgaas <> | Subject | [PATCH] Remove <asm/setup.h> from cmdlinepart.c | Date | Thu, 25 Mar 2004 10:46:45 -0700 |
| |
Remove include of <asm/setup.h> from cmdlinepart.c. This is not be needed for i386 (it builds fine with this patch), and ia64 doesn't supply a setup.h.
asm/setup.h contains a hodge-podge of stuff with no real consistency between architectures. It appears to be included mainly by arch-specific drivers: acsi (Atari disks) amiflop (Amiga floppy) z2ram (ZorroII ram disk) amiserial (Amiga serial) ... and under arch-specific #ifdefs: fbcon (under __mc68000__ or CONFIG_APUS) fonts (ditto) logo (CONFIG_M68K) ...
===== drivers/mtd/cmdlinepart.c 1.5 vs edited ===== --- 1.5/drivers/mtd/cmdlinepart.c Wed May 28 09:01:08 2003 +++ edited/drivers/mtd/cmdlinepart.c Wed Mar 24 11:48:19 2004 @@ -28,7 +28,6 @@ #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> -#include <asm/setup.h> #include <linux/bootmem.h> /* error message prefix */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |