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

From: Peter Zijlstra
Date: Tue Oct 23 2007 - 13:47:36 EST


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();


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/