[2.6 patch] xtensa must set RWSEM_GENERIC_SPINLOCK=y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux