public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Andre Eisenbach <int2str@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.9-rc1-mm2
Date: Wed, 1 Sep 2004 00:25:25 -0700	[thread overview]
Message-ID: <20040901072525.GX5492@holomorphy.com> (raw)
In-Reply-To: <7f800d9f040901001551f92762@mail.gmail.com>

On Wed, Sep 01, 2004 at 12:15:50AM -0700, Andre Eisenbach wrote:
> Does not compile for me:
>   CC      kernel/wait.o
> kernel/wait.c:156: error: conflicting types for '__wait_on_bit'
> include/linux/wait.h:143: error: previous declaration of
> '__wait_on_bit' was here
[...]
> Let me know if you need the .config or any other info.
> Thanks for your continued hard work guys!

Please apply the following fixes:


Index: mm2-2.6.9-rc1/include/linux/wait.h
===================================================================
--- mm2-2.6.9-rc1.orig/include/linux/wait.h	2004-08-31 16:01:44.000000000 -0700
+++ mm2-2.6.9-rc1/include/linux/wait.h	2004-08-31 16:02:00.000000000 -0700
@@ -388,7 +388,7 @@
 	DEFINE_WAIT_BIT(q, word, bit);
 	wait_queue_head_t *wqh;
 
-	if (!test_bit(bit, word))
+	if (!test_and_set_bit(bit, word))
 		return 0;
 
 	wqh = bit_waitqueue(word, bit);
Index: mm2-2.6.9-rc1/kernel/wait.c
===================================================================
--- mm2-2.6.9-rc1.orig/kernel/wait.c	2004-08-31 16:01:44.000000000 -0700
+++ mm2-2.6.9-rc1/kernel/wait.c	2004-08-31 16:02:00.000000000 -0700
@@ -150,8 +150,8 @@
  * waiting, the actions of __wait_on_bit() and __wait_on_bit_lock() are
  * permitted return codes. Nonzero return codes halt waiting and return.
  */
-int __sched __wait_on_bit(wait_queue_head_t *wq, struct wait_bit_queue *q,
-			void *word,
+int __sched fastcall __wait_on_bit(wait_queue_head_t *wq,
+			struct wait_bit_queue *q, void *word,
 			int bit, int (*action)(void *), unsigned mode)
 {
 	int ret = 0;
@@ -164,8 +164,8 @@
 }
 EXPORT_SYMBOL(__wait_on_bit);
 
-int __sched __wait_on_bit_lock(wait_queue_head_t *wq, struct wait_bit_queue *q,
-			void *word, int bit,
+int __sched fastcall __wait_on_bit_lock(wait_queue_head_t *wq,
+			struct wait_bit_queue *q, void *word, int bit,
 			int (*action)(void *), unsigned mode)
 {
 	int ret = 0;
More recent patches modify files in wait-on-bit-lock-fix.patch.

  reply	other threads:[~2004-09-01  7:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31  6:54 2.6.9-rc1-mm2 Andrew Morton
2004-08-31  8:51 ` 2.6.9-rc1-mm2 Inconsistent kallsyms Helge Hafting
2004-08-31  9:02   ` Andrew Morton
2004-09-01 10:45     ` Helge Hafting
2004-08-31 11:05   ` Paulo Marques
2004-08-31 12:04 ` 2.6.9-rc1-mm2: tdfxfb_lib causes compile error Adrian Bunk
2004-08-31 17:21 ` 2.6.9-rc1-mm2 (compile stats) John Cherry
2004-08-31 17:41 ` [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile Adrian Bunk
2004-08-31 20:18   ` Jesper Juhl
2004-08-31 20:17     ` Adrian Bunk
2004-08-31 20:27       ` Jesper Juhl
2004-08-31 17:47 ` 2.6.9-rc1-mm2: why is DIGIEPCA marked BROKEN? Adrian Bunk
2004-08-31 19:57   ` Christoph Hellwig
2004-08-31 19:59     ` Adrian Bunk
2004-08-31 18:53 ` 2.6.9-rc1-mm2 Martin J. Bligh
2004-08-31 19:16   ` 2.6.9-rc1-mm2 Gene Heskett
2004-08-31 19:45     ` 2.6.9-rc1-mm2 Martin J. Bligh
2004-08-31 19:26   ` 2.6.9-rc1-mm2 Andrew Morton
2004-08-31 18:54 ` 2.6.9-rc1-mm2 Gene Heskett
2004-08-31 19:41   ` 2.6.9-rc1-mm2 Sam Ravnborg
2004-09-01 17:35     ` 2.6.9-rc1-mm2 Tom Rini
2004-09-01 19:23       ` 2.6.9-rc1-mm2 Sam Ravnborg
2004-08-31 22:13 ` 2.6.9-rc1-mm2 Rick Lindsley
2004-09-01 21:07   ` 2.6.9-rc1-mm2: IP_NF_COMPAT_IPCHAINS compilation broken Adrian Bunk
2004-09-01  7:15 ` 2.6.9-rc1-mm2 Andre Eisenbach
2004-09-01  7:25   ` William Lee Irwin III [this message]
2004-09-01  9:15     ` 2.6.9-rc1-mm2 Andre Eisenbach
  -- strict thread matches above, loose matches on Subject: below --
2004-08-31 17:01 2.6.9-rc1-mm2 Bill Davidsen
2004-08-31 19:42 ` 2.6.9-rc1-mm2 William Lee Irwin III
     [not found] <2zaWg-4Yj-1@gated-at.bofh.it>
     [not found] ` <2zxzF-4pS-19@gated-at.bofh.it>
     [not found]   ` <2zxJk-4vm-29@gated-at.bofh.it>
2004-09-03  9:50     ` 2.6.9-rc1-mm2 Martin Wilck

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=20040901072525.GX5492@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=int2str@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox