[S390] Fix compile error on 31bit without preemption
commitab1809b4ed9a3aaf3b34133a776a94f9fad54cc4
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 4 Dec 2007 15:09:04 +0000 (4 16:09 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 4 Dec 2007 15:09:58 +0000 (4 16:09 +0100)
treec7fab86191370781d8d2a43df33f059e70b9e4e1
parent436d1bc7fe6e78e37fe5f5022ea4d5c133d825eb
[S390] Fix compile error on 31bit without preemption

Commit b8e7a54cd06b0b0174029ef3a7f5a1415a2c28f2 introduced a compile
error if CONFIG_PREEMPT is not set:

arch/s390/kernel/built-in.o: In function `cleanup_io_leave_insn':
/space/kvm/arch/s390/kernel/entry.S:(.text+0xbfce): undefined reference to `preempt_schedule_irq'

This patch hides preempt_schedule_irq if CONFIG_PREEMPT is not set.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S