Re: [RFC/PATCH 3/5] rt: plist_head_splice

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Tuesday, October 23, 2007 - 10:45 am

Index: linux-2.6/lib/plist.c
===================================================================
--- linux-2.6.orig/lib/plist.c
+++ linux-2.6/lib/plist.c
@@ -167,8 +167,8 @@ void plist_head_splice(struct plist_head
 		list_del_init(&src_iter_first->plist.prio_list);
 
 		if (src_iter_first->prio < dst_iter->prio) {
-			list_add_tail(&src_iter_first->plist.node_list,
-					&dst_iter->plist.node_list);
+			list_add_tail(&src_iter_first->plist.prio_list,
+					&dst_iter->plist.prio_list);
 		} else if (src_iter_first->prio == dst_iter->prio) {
 			dst_iter = next_prio(dst_iter);
 		} else BUG();


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH 3/5] rt: plist_head_splice, Peter Zijlstra, (Tue Oct 23, 5:04 am)
Re: [RFC/PATCH 3/5] rt: plist_head_splice, Steven Rostedt, (Tue Oct 23, 8:10 am)
Re: [RFC/PATCH 3/5] rt: plist_head_splice, Peter Zijlstra, (Tue Oct 23, 9:26 am)
Re: [RFC/PATCH 3/5] rt: plist_head_splice, Peter Zijlstra, (Tue Oct 23, 10:45 am)