[lkml]   [2006]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patches in this message
SubjectRe: 2.6.17-rc5-mm2 link issues on s390

here are small link issues on s390.

CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
init/built-in.o(.init.text+0x564): In function `start_kernel':
: undefined reference to `early_init_irq_lock_type'
lib/built-in.o(.text+0xaf6): In function `__iowrite64_copy':
: undefined reference to `__raw_writeq'
make: *** [.tmp_vmlinux1] Error 1

I think the early_init_irq_lock_type() undef is related to the
lock-validator patch. Shall I just :

--- 2.6.17-rc5-mm2.orig/init/main.c
+++ 2.6.17-rc5-mm2/init/main.c
@@ -473,7 +473,9 @@


too easy ... the lock-validator should be ported to s390 I guess. What are
the steps to follow ?

As for the `__iowrite64_copy', shall we :
#define writeq(b,addr) (*(volatile unsigned long *) __io_virt(addr) = (b))
#define __raw_writeq writeq

For the moment, it boots but I'd like to make sure i'm in the right
direction before sending patches. However, the following one is safe and
fixes a very small compil issue on s390 in klibc.



usr/klibc/arch/s390/mmap.c | 1 +
1 files changed, 1 insertion(+)
Index: 2.6.17-rc5-mm2/usr/klibc/arch/s390/mmap.c
--- 2.6.17-rc5-mm2.orig/usr/klibc/arch/s390/mmap.c
+++ 2.6.17-rc5-mm2/usr/klibc/arch/s390/mmap.c
@@ -1,5 +1,6 @@
#include <sys/types.h>
#include <linux/unistd.h>
+#include <errno.h>

struct mmap_arg_struct {
unsigned long addr;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-01 15:07    [W:0.214 / U:3.116 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site