From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756027AbaEIDh6 (ORCPT ); Thu, 8 May 2014 23:37:58 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:10194 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752051AbaEIDh5 (ORCPT ); Thu, 8 May 2014 23:37:57 -0400 From: "xiaofeng.yan" To: , , CC: , "xiaofeng.yan" Subject: [PATCH] sched/rt: Fix a comment in struct sched_dl_entity Date: Fri, 9 May 2014 03:21:27 +0000 Message-ID: <1399605687-18094-1-git-send-email-xiaofeng.yan@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.197.241] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change sched_setscheduler2() to sched_setattr() in the comments. There isn't function sched_setscheduler2() in the main line. The previous EDF version defines this function before being merged into the main line. User should use sched_setattr() instead of sched_setscheduler2() now. Signed-off-by: xiaofeng.yan --- include/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..ed64468 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1123,8 +1123,8 @@ struct sched_dl_entity { /* * Original scheduling parameters. Copied here from sched_attr - * during sched_setscheduler2(), they will remain the same until - * the next sched_setscheduler2(). + * during sched_setattr(), they will remain the same until + * the next sched_setattr(). */ u64 dl_runtime; /* maximum runtime for each instance */ u64 dl_deadline; /* relative deadline of each instance */ -- 1.7.9.5