All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] iomap s390 build fix
@ 2007-02-10 11:40 Heiko Carstens
  0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2007-02-10 11:40 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds
  Cc: Tejun Heo, Jeff Garzik, linux-kernel, linux-s390

From: Heiko Carstens <heiko.carstens@de.ibm.com>

9ac7849e35f705830f7b016ff272b0ff1f7ff759 breaks s390, we don't
have any PCI devices...

lib/built-in.o(.text+0xcdc): In function `devm_ioport_map_release':
: undefined reference to `ioport_unmap'
lib/built-in.o(.text+0xd64): In function `devm_ioport_map':
: undefined reference to `ioport_map'
lib/built-in.o(.text+0xdd2): In function `devm_ioport_unmap':
: undefined reference to `ioport_unmap'
lib/built-in.o(.text+0x10a2): In function `pcim_iomap_release':
: undefined reference to `pci_iounmap'
lib/built-in.o(.text+0x11bc): In function `pcim_iomap':
: undefined reference to `pci_iomap'
lib/built-in.o(.text+0x121e): In function `pcim_iounmap':
: undefined reference to `pci_iounmap'
lib/built-in.o(.text+0x136c): In function `pcim_iomap_regions':
: undefined reference to `pci_request_region'
lib/built-in.o(.text+0x13b4): In function `pcim_iomap_regions':
: undefined reference to `pci_release_region'
lib/built-in.o(.text+0x13e4): In function `pcim_iomap_regions':
: undefined reference to `pci_release_region'
make: *** [.tmp_vmlinux1] Error 1

Cc: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 lib/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6/lib/Makefile
===================================================================
--- linux-2.6.orig/lib/Makefile
+++ linux-2.6/lib/Makefile
@@ -12,13 +12,14 @@ lib-$(CONFIG_SMP) += cpumask.o
 
 lib-y	+= kobject.o kref.o kobject_uevent.o klist.o
 
-obj-y += sort.o parser.o halfmd4.o debug_locks.o random32.o iomap.o
+obj-y += sort.o parser.o halfmd4.o debug_locks.o random32.o
 
 ifeq ($(CONFIG_DEBUG_KOBJECT),y)
 CFLAGS_kobject.o += -DDEBUG
 CFLAGS_kobject_uevent.o += -DDEBUG
 endif
 
+obj-$(CONFIG_PCI) += iomap.o
 obj-$(CONFIG_IOMAP_COPY) += iomap_copy.o
 obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-10 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-10 11:40 [patch] iomap s390 build fix Heiko Carstens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.