From: Andrew Morton <akpm@linux-foundation.org>
To: "Bob Picco" <bob.picco@hp.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>,
linux-kernel@vger.kernel.org, Len Brown <lenb@kernel.org>
Subject: Re: mm snapshot broken-out-2007-06-20-10-12.tar.gz uploaded
Date: Mon, 25 Jun 2007 21:12:43 -0700 [thread overview]
Message-ID: <20070625211243.84a53d27.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070621011422.GF10927@localhost>
On Wed, 20 Jun 2007 21:14:22 -0400 "Bob Picco" <bob.picco@hp.com> wrote:
> Randy Dunlap wrote: [Wed Jun 20 2007, 09:07:11PM EDT]
> > On Wed, 20 Jun 2007 20:51:22 -0400 Bob Picco wrote:
> >
> > > akpm@linux-foundation.org wrote: [Wed Jun 20 2007, 01:14:34PM EDT]
> > > [snip]
> > >
> > > Build breakage. pci_mmcfg_late_init is for i386.
> >
> > then you want CONFIG_X86_32 instead of CONFIG_X86.
> > CONFIG_X86 is set/true for both X86_32 and X86_64.
> Then what I stated within the patch description is incorrect. pci.h which is the
> required include for the declaration is conditionally for CONFIG_X86. So it is
> both I guess?
(reads code and config files, works out that the breakage must have been ia64)
Really the header file should take care of this, and conditional inclusion
is evil.
So let's give this a whizz?
From: Andrew Morton <akpm@linux-foundation.org>
drivers/acpi/bus.c: In function `acpi_init':
drivers/acpi/bus.c:760: warning: implicit declaration of function `pci_mmcfg_late_init'
Fix this by always including pci.h in drivers/acpi/bus.c.
Also remove unneeded inclusion of asm/pci.h (linux/pci.h did that)
Cc: Andi Kleen <ak@suse.de>
Cc: Greg KH <greg@kroah.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rajesh Shah <rajesh.shah@intel.com>
Cc: Robert Hancock <hancockr@shaw.ca>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/acpi/bus.c | 3 +--
linux/pci.h | 0
2 files changed, 1 insertion(+), 2 deletions(-)
diff -puN drivers/acpi/bus.c~mmconfig-validate-against-acpi-motherboard-resources-fix-2-3 drivers/acpi/bus.c
--- a/drivers/acpi/bus.c~mmconfig-validate-against-acpi-motherboard-resources-fix-2-3
+++ a/drivers/acpi/bus.c
@@ -34,9 +34,8 @@
#include <linux/proc_fs.h>
#ifdef CONFIG_X86
#include <asm/mpspec.h>
-#include <linux/pci.h>
-#include <asm/pci.h>
#endif
+#include <linux/pci.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
_
next prev parent reply other threads:[~2007-06-26 4:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 17:14 mm snapshot broken-out-2007-06-20-10-12.tar.gz uploaded akpm
2007-06-20 18:45 ` [PATCH] fs/quota.c build fix (Re: mm snapshot broken-out-2007-06-20-10-12.tar.gz uploaded) Michal Piotrowski
2007-06-21 14:17 ` Vasily Tarasov
2007-06-21 0:51 ` mm snapshot broken-out-2007-06-20-10-12.tar.gz uploaded Bob Picco
2007-06-21 1:07 ` Randy Dunlap
2007-06-21 1:14 ` Bob Picco
2007-06-21 4:54 ` Randy Dunlap
2007-06-26 4:12 ` Andrew Morton [this message]
2007-06-21 0:52 ` Bob Picco
2007-06-21 2:55 ` Jeremy Fitzhardinge
2007-06-21 3:33 ` Jeremy Fitzhardinge
2007-06-21 23:01 ` Andrew Morton
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=20070625211243.84a53d27.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bob.picco@hp.com \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/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