2.6.13-rc7-rt3 compile fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux