lkml.org 
[lkml]   [2005]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.6.13-rc7-rt3 compile fix
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;
}
\
 
 \ /
  Last update: 2005-08-26 23:20    [W:0.038 / U:0.208 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site