lkml.org 
[lkml]   [2006]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] 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 <bunk@stusta.de>

---

This patch was already sent on:
- 4 Mar 2006

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-08 12:26    [W:0.023 / U:3.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site