Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754069AbcC3Guq (ORCPT ); Wed, 30 Mar 2016 02:50:46 -0400 Received: from mga04.intel.com ([192.55.52.120]:3099 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753259AbcC3Gup (ORCPT ); Wed, 30 Mar 2016 02:50:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,415,1455004800"; d="scan'208";a="75706146" From: Yuyang Du To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: ak@linux.intel.com, Yuyang Du Subject: [PATCH] sched/fair: Update comment after a variable rename Date: Wed, 30 Mar 2016 07:07:51 +0800 Message-Id: <1459292871-22531-1-git-send-email-yuyang.du@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 23 Commit ed82b8a1ff76ed7b2709 renamed prio_to_weight to sched_prio_to_weight, but the old name was not updated in a comment. Signed-off-by: Yuyang Du --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 303d639..68ecc1f 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5630,7 +5630,7 @@ static bool yield_to_task_fair(struct rq *rq, struct task_struct *p, bool preemp * W_i,0 = \Sum_j w_i,j (2) * * Where w_i,j is the weight of the j-th runnable task on cpu i. This weight - * is derived from the nice value as per prio_to_weight[]. + * is derived from the nice value as per sched_prio_to_weight[]. * * The weight average is an exponential decay average of the instantaneous * weight: -- 1.7.9.5