From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbXJWRrd (ORCPT ); Tue, 23 Oct 2007 13:47:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752137AbXJWRr0 (ORCPT ); Tue, 23 Oct 2007 13:47:26 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:46194 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068AbXJWRrZ (ORCPT ); Tue, 23 Oct 2007 13:47:25 -0400 Subject: Re: [RFC/PATCH 3/5] rt: plist_head_splice From: Peter Zijlstra To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Daniel Walker , Ingo Molnar , Thomas Gleixner , Gregory Haskins , Oleg Nesterov In-Reply-To: References: <20071023120357.782284000@chello.nl> <20071023120745.122724000@chello.nl> Content-Type: text/plain Date: Tue, 23 Oct 2007 19:45:42 +0200 Message-Id: <1193161542.5648.6.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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();