mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Remove <asm/setup.h> from cmdlinepart.c
@ 2004-03-25 17:46 Bjorn Helgaas
  2004-03-28 21:08 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2004-03-25 17:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: dwmw2, linux-kernel

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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove <asm/setup.h> from cmdlinepart.c
  2004-03-25 17:46 [PATCH] Remove <asm/setup.h> from cmdlinepart.c Bjorn Helgaas
@ 2004-03-28 21:08 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2004-03-28 21:08 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Andrew Morton, dwmw2, Linux Kernel Development

On Thu, 25 Mar 2004, Bjorn Helgaas wrote:
> 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)
> 	...

Indeed, <asm/setup.h> was introduced in the m68k port.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-28 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 17:46 [PATCH] Remove <asm/setup.h> from cmdlinepart.c Bjorn Helgaas
2004-03-28 21:08 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®