xtensa must set RWSEM_GENERIC_SPINLOCK=y
PATCH 1/1 xtensa must set RWSEM_GENERIC_SPINLOCK=y
This untested patch should fix the following compile error:
<-- snip -->
...
CC mm/rmap.o/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'
...
LD .tmp_vmlinux1
mm/built-in.o:(.text+0x5a0): undefined reference to `rwsem_is_locked'
make[1]: *** [.tmp_vmlinux1] Error 1
<-- snip -->
Signed-off-by Adrian Bunk <[email protected]>
arch/xtensa/Kconfig renamed from arch/xtensa/Kconfig.old +4 -0
@@ -34,6 +34,10 @@ bool default y +config RWSEM_GENERIC_SPINLOCK + bool + default y + source "init/Kconfig" menu "Processor type and features"