All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: chris@zankel.net
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] xtensa must set RWSEM_GENERIC_SPINLOCK=y
Date: Sat, 4 Mar 2006 00:14:19 +0100	[thread overview]
Message-ID: <20060303231419.GD9295@stusta.de> (raw)

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>

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


             reply	other threads:[~2006-03-03 23:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-03 23:14 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-08 11:23 [2.6 patch] xtensa must set RWSEM_GENERIC_SPINLOCK=y Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060303231419.GD9295@stusta.de \
    --to=bunk@stusta.de \
    --cc=chris@zankel.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.