The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* 2.6.13-rc7-rt3 compile fix
@ 2005-08-26 21:17 K.R. Foley
  2005-08-26 21:36 ` Steven Rostedt
  0 siblings, 1 reply; 4+ messages in thread
From: K.R. Foley @ 2005-08-26 21:17 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Steven Rostedt, linux-kernel

[-- 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;
 }
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-26 23:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 21:17 2.6.13-rc7-rt3 compile fix K.R. Foley
2005-08-26 21:36 ` Steven Rostedt
2005-08-26 23:43   ` K.R. Foley
2005-08-26 23:56     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox