From: Heiko Carstens <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Cc: Jeff Garzik <[EMAIL PROTECTED]>
Cc: Martin Schwidefsky <[EMAIL PROTECTED]>
Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]>
---
 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to