Przeglądaj źródła

[PATCH] xtensa must set RWSEM_GENERIC_SPINLOCK=y

/usr/src/ctest/git/kernel/mm/rmap.c: In function `page_referenced_one':
/usr/src/ctest/git/kernel/mm/rmap.c:354: warning: implicit declaration of function `rwsem_is_locked'

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 19 lat temu
rodzic
commit
628de616ba
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      arch/xtensa/Kconfig

+ 4 - 0
arch/xtensa/Kconfig

@@ -26,6 +26,10 @@ config GENERIC_HARDIRQS
 	bool
 	default y
 
+config RWSEM_GENERIC_SPINLOCK
+       bool
+       default y
+
 source "init/Kconfig"
 
 menu "Processor type and features"