[S390] lockdep: fix compile bug
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 14 Nov 2008 17:18:03 +0000 (18:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 14 Nov 2008 17:18:53 +0000 (18:18 +0100)
arch/s390/kernel/built-in.o: In function `cleanup_io_leave_insn':
mem_detect.c:(.text+0x10592): undefined reference to `lockdep_sys_exit'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S

index ed500ef799b795a21f322ae0d8e818b8bd926a36..5f0c4fba87c3786805398ee0452d76552c351e3e 100644 (file)
@@ -1116,6 +1116,8 @@ cleanup_io_leave_insn:
 .Ltrace_irq_on: .long  trace_hardirqs_on
 .Ltrace_irq_off:
                .long   trace_hardirqs_off
+#endif
+#ifdef CONFIG_LOCKDEP
 .Llockdep_sys_exit:
                .long   lockdep_sys_exit
 #endif