The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "K.R. Foley" <kr@cybsft.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: 2.6.13-rc7-rt3 compile fix
Date: Fri, 26 Aug 2005 16:17:27 -0500	[thread overview]
Message-ID: <430F86E7.9020605@cybsft.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]

2.6.13-rc7-rt3 won't compile without the simple patch below.

-- 
    kr

[-- Attachment #2: rtspinfix.patch --]
[-- Type: text/x-patch, Size: 565 bytes --]

--- linux-2.6.13/kernel/rt.c.orig	2005-08-26 15:51:35.000000000 -0500
+++ linux-2.6.13/kernel/rt.c	2005-08-26 15:51:55.000000000 -0500
@@ -672,7 +672,7 @@
 	struct rt_mutex_waiter *w;
 	struct plist *curr1;
 
-	__raw_spin_lock(old_owner->task->pi_lock);
+	__raw_spin_lock(&old_owner->task->pi_lock);
 	TRACE_WARN_ON_LOCKED(plist_empty(&waiter->pi_list));
 	TRACE_WARN_ON_LOCKED(lock_owner(lock));
 
@@ -683,7 +683,7 @@
 	}
 	TRACE_WARN_ON_LOCKED(1);
 ok:
-	__raw_spin_unlock(old_owner->task->pi_lock);
+	__raw_spin_unlock(&old_owner->task->pi_lock);
 	return;
 }
 

             reply	other threads:[~2005-08-26 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 21:17 K.R. Foley [this message]
2005-08-26 21:36 ` 2.6.13-rc7-rt3 compile fix Steven Rostedt
2005-08-26 23:43   ` K.R. Foley
2005-08-26 23:56     ` Steven Rostedt

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=430F86E7.9020605@cybsft.com \
    --to=kr@cybsft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.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