Skip to content

Commit

Permalink
[S390] Define GENERIC_LOCKBREAK.
Browse files Browse the repository at this point in the history
Fix compile error:

  CC      arch/s390/kernel/asm-offsets.s
In file included from
arch/s390/kernel/asm-offsets.c:7:
include/linux/sched.h: In function 'spin_needbreak':
include/linux/sched.h:1931: error: implicit declaration of function '__raw_spin_is_contended'
make[2]: *** [arch/s390/kernel/asm-offsets.s] Error 1

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Martin Schwidefsky committed Feb 5, 2008
1 parent 8c0933e commit b6b40c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ config NO_IOMEM
config NO_DMA
def_bool y

config GENERIC_LOCKBREAK
bool
default y
depends on SMP && PREEMPT

mainmenu "Linux Kernel Configuration"

config S390
Expand Down

0 comments on commit b6b40c5

Please sign in to comment.