From: Adrian Bunk <bunk@stusta.de>
Date: Fri, 10 Mar 2006 01:33:45 +0000 (-0800)
Subject: [PATCH] xtensa must set RWSEM_GENERIC_SPINLOCK=y
X-Git-Tag: firefly_0821_release~37713
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=628de616ba760b7b1d5e3d95dbe40a988fbf8ca5;p=firefly-linux-kernel-4.4.55.git

[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>
---

diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 7ee4a14ec3b1..e90ef5db8913 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"