[2.6 patch] xtensa must set RWSEM_GENERIC_SPINLOCK=y

From: Adrian Bunk
Date: Fri Mar 03 2006 - 18:11:58 EST


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 <bunk@xxxxxxxxx>

--- linux-2.6.16-rc5-mm2-full/arch/xtensa/Kconfig.old 2006-03-04 00:03:32.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/arch/xtensa/Kconfig 2006-03-04 00:03:56.000000000 +0100
@@ -34,6 +34,10 @@
bool
default y

+config RWSEM_GENERIC_SPINLOCK
+ bool
+ default y
+
source "init/Kconfig"

menu "Processor type and features"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/