瀏覽代碼

[S390] Define GENERIC_LOCKBREAK.

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>
Martin Schwidefsky 18 年之前
父節點
當前提交
b6b40c532a
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      arch/s390/Kconfig

+ 5 - 0
arch/s390/Kconfig

@@ -47,6 +47,11 @@ config NO_IOMEM
 config NO_DMA
 config NO_DMA
 	def_bool y
 	def_bool y
 
 
+config GENERIC_LOCKBREAK
+	bool
+	default y
+	depends on SMP && PREEMPT
+
 mainmenu "Linux Kernel Configuration"
 mainmenu "Linux Kernel Configuration"
 
 
 config S390
 config S390