From: Heiko Carstens <heiko.carstens at de.ibm.com> Fix s390 31 bit klibc build. Cc: Martin Schwidefsky <schwidefsky at de.ibm.com> Cc: H. Peter Anvin <hpa at zytor.com> Signed-off-by: Heiko Carstens <heiko.carstens at de.ibm.com> --- Patch is against 2.6.17-mm1. include/linux/kallsyms.h | 14 ++++++++++++++ kernel/lockdep.c | 38 ++++++++++++++------------------------ kernel/stacktrace.c | 4 +--- 3 files changed, 29 insertions(+), 27 deletions(-) Index: linux-2.6.17-mm1/usr/klibc/arch/s390/Makefile.inc ==================================================================--- linux-2.6.17-mm1.orig/usr/klibc/arch/s390/Makefile.inc +++ linux-2.6.17-mm1/usr/klibc/arch/s390/Makefile.inc @@ -13,6 +13,11 @@ KLIBCARCHOBJS = \ arch/$(KLIBCARCHDIR)/setjmp.o \ arch/$(KLIBCARCHDIR)/mmap.o \ arch/$(KLIBCARCHDIR)/syscall.o \ + libgcc/__clzsi2.o \ + libgcc/__clzdi2.o \ + libgcc/__ashldi3.o \ + libgcc/__ashrdi3.o \ + libgcc/__lshrdi3.o \ libgcc/__divdi3.o \ libgcc/__moddi3.o \ libgcc/__udivdi3.o \