2.6.13-rc7-rt3 compile fix
From: K.R. Foley
Date: Fri Aug 26 2005 - 16:18:27 EST
2.6.13-rc7-rt3 won't compile without the simple patch below.
--
kr
--- 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;
}