From 628de616ba760b7b1d5e3d95dbe40a988fbf8ca5 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Thu, 9 Mar 2006 17:33:45 -0800 Subject: [PATCH] [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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/xtensa/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 7ee4a14ec3..e90ef5db89 100644 --- a/arch/xtensa/Kconfig +++ b/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" -- 2.39.5