lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 10 Feb 2007 12:40:26 +0100
From:	Heiko Carstens <heiko.carstens@...ibm.com>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	Tejun Heo <htejun@...il.com>, Jeff Garzik <jgarzik@...ox.com>,
	linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org
Subject: [patch] iomap s390 build fix

From: Heiko Carstens <heiko.carstens@...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@...il.com>
Cc: Jeff Garzik <jeff@...zik.org>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@...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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ