public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle•de>
To: Paul Mackeras <paulus@samba•org>, linuxppc-dev@ozlabs•org
Subject: Re: [PATCH] fix link errors when eeh is disabled
Date: Thu, 22 Mar 2007 23:14:07 +0100	[thread overview]
Message-ID: <20070322221407.GA13592@aepfle.de> (raw)
In-Reply-To: <20070322221117.GA13481@aepfle.de>


fix link errors with CONFIG_EEH=n

arch/powerpc/platforms/built-in.o: In function `.pcibios_fixup_new_pci_devices':
(.text+0x41c8): undefined reference to `.eeh_add_device_tree_late'
arch/powerpc/platforms/built-in.o: In function `.init_phb_dynamic':
(.text+0x4280): undefined reference to `.eeh_add_device_tree_early'
arch/powerpc/platforms/built-in.o: In function `.pcibios_remove_pci_devices':
(.text+0x42fc): undefined reference to `.eeh_remove_bus_device'
arch/powerpc/platforms/built-in.o: In function `.pcibios_add_pci_devices':
(.text+0x43c0): undefined reference to `.eeh_add_device_tree_early'
arch/powerpc/platforms/built-in.o: In function `.pSeries_final_fixup':
(.init.text+0xb4): undefined reference to `.pci_addr_cache_build'
arch/powerpc/platforms/built-in.o: In function `.pSeries_setup_arch':
setup.c:(.init.text+0x620): undefined reference to `.eeh_init'
make[1]: *** [.tmp_vmlinux1] Error 1


Signed-off-by: Olaf Hering <olaf@aepfle•de>

---
 arch/powerpc/platforms/pseries/pci.c       |    1 +
 arch/powerpc/platforms/pseries/pci_dlpar.c |    1 +
 arch/powerpc/platforms/pseries/setup.c     |    1 +
 3 files changed, 3 insertions(+)

Index: b/arch/powerpc/platforms/pseries/pci.c
===================================================================
--- a/arch/powerpc/platforms/pseries/pci.c
+++ b/arch/powerpc/platforms/pseries/pci.c
@@ -25,6 +25,7 @@
 #include <linux/pci.h>
 #include <linux/string.h>
 
+#include <asm/eeh.h>
 #include <asm/pci-bridge.h>
 #include <asm/prom.h>
 #include <asm/ppc-pci.h>
Index: b/arch/powerpc/platforms/pseries/pci_dlpar.c
===================================================================
--- a/arch/powerpc/platforms/pseries/pci_dlpar.c
+++ b/arch/powerpc/platforms/pseries/pci_dlpar.c
@@ -29,6 +29,7 @@
 #include <asm/pci-bridge.h>
 #include <asm/ppc-pci.h>
 #include <asm/firmware.h>
+#include <asm/eeh.h>
 
 static struct pci_bus *
 find_bus_among_children(struct pci_bus *bus,
Index: b/arch/powerpc/platforms/pseries/setup.c
===================================================================
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -65,6 +65,7 @@
 #include <asm/udbg.h>
 #include <asm/smp.h>
 #include <asm/firmware.h>
+#include <asm/eeh.h>
 
 #include "plpar_wrappers.h"
 #include "pseries.h"

  reply	other threads:[~2007-03-22 22:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 22:11 [PATCH] fix xmon print_bug_trap compile error Olaf Hering
2007-03-22 22:14 ` Olaf Hering [this message]
2007-03-23  0:11   ` [PATCH] remove unused inclusion of linux/ide.h Olaf Hering
2007-03-23  7:16   ` [PATCH] fix link errors when eeh is disabled Stephen Rothwell
2007-03-23  6:00 ` [PATCH] fix xmon print_bug_trap compile error Stephen Rothwell

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=20070322221407.GA13592@aepfle.de \
    --to=olaf@aepfle$(echo .)de \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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