From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Andrew Morton <akpm@osdl.org>
Cc: dwmw2@infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Remove <asm/setup.h> from cmdlinepart.c
Date: Thu, 25 Mar 2004 10:46:45 -0700 [thread overview]
Message-ID: <200403251046.45232.bjorn.helgaas@hp.com> (raw)
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 */
next reply other threads:[~2004-03-25 17:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 17:46 Bjorn Helgaas [this message]
2004-03-28 21:08 ` Geert Uytterhoeven
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=200403251046.45232.bjorn.helgaas@hp.com \
--to=bjorn.helgaas@hp.com \
--cc=akpm@osdl.org \
--cc=dwmw2@infradead.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
all inboxes | Powered by JetHome®