From patchwork Tue Feb 13 08:59:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 128205 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4039369ljc; Tue, 13 Feb 2018 00:59:56 -0800 (PST) X-Google-Smtp-Source: AH8x227WqNClDKChIdZ3zDVQJTMthGrCu4OiEIFMDVkE40bdTeI7YMneyWPxhgvtbYkGclluq5Be X-Received: by 10.99.116.23 with SMTP id p23mr434780pgc.178.1518512396144; Tue, 13 Feb 2018 00:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518512396; cv=none; d=google.com; s=arc-20160816; b=DhZXx6hib/ojUy3PUn1EQXIDz3Yw/JlIo6Gtlk5ia9Hg4CsdXerD0nZlkLtJQoloqk 7XU5xJ37dtUTqqZuXAz8e38xFanu7iSEweJigb+nYLCuwZ+4NR5clOx7fxtRqArvUpgY XC7hv5OW5i/6MhsYDPB+SmYGN1h3U0stqU+7mrcNOXMSY4z8mwRd2NWMEGasQ4/TZ4Du ygGfpBZsuri7EtNlbudGHjsbsSisAH39WIyaHa4krZh/ZFrdJ+W9F6IER5UTT/TwFXJq Ir7OGlkX1Zj/3b38+nTTsEFGSIfI4/PAMlWdfBee/ThlZJfs511VIkSlYH5gRezeN8cm IyDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=0MXgxQtnRQSMrO/FaHIgORZtfWJK33RfE0G70vXe2DA=; b=LlWs0kUFIKtqbOZiL5ULhVsX+T6K8KW5c+krxTeimjHNSXj46U5eaaXEsExp5ZEhsg CL/V1tvMVgyps6sKQA74fqLL4VvmTq7LpUhED0IbrEOROuIxdk2VZHvrIQ7rg2Y69TI7 KyoO+tOjK0aysrT2XPyOVquW9NqB7YNcZ8CYcmHoAJ0KlhLynlTHo/9eVgiwrnNkdTPp Iyd9JB7JfDpryXgjx4vBD/GPj+mIc0cg3gGwsIiDYMfiOjjS890qUw1+5qhaBkK4FEq8 5m+qdAE0lMKzj2NMH4q5SImXTA338wdBhqXCvaxnEGBQ4dJGMlS1KihyjXsaDzukY2jH 5Zrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZO4sH6sL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x62si1731229pgd.611.2018.02.13.00.59.55; Tue, 13 Feb 2018 00:59:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZO4sH6sL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933853AbeBMI7v (ORCPT + 27 others); Tue, 13 Feb 2018 03:59:51 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36754 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933740AbeBMI7u (ORCPT ); Tue, 13 Feb 2018 03:59:50 -0500 Received: by mail-wm0-f65.google.com with SMTP id f3so14617820wmc.1 for ; Tue, 13 Feb 2018 00:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0MXgxQtnRQSMrO/FaHIgORZtfWJK33RfE0G70vXe2DA=; b=ZO4sH6sLK6wjYKwwfY4w8MlIatG+A1ChCMw0C7IZ5GYfttxeBVPlmhiALwx2S5C5UO WIpNZjidSpnjNolyzWePHnUPTOpuGoLzb8tZcTvx+TIbRL4kFW8teSyhXV8/szLQqdWb hXsPgr4YLa8qWTa2olzVkYs6WBwz4EV5iNmtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0MXgxQtnRQSMrO/FaHIgORZtfWJK33RfE0G70vXe2DA=; b=KCtb7NXOz37PYvPlFXoVTFY1jtlG/6Bt8lFGfuTnJTDvAEO8Clrnd4nkIfe6PL+Enx ucGSoYOP0zoVN9VMkQoeOiSsm7Dvkn64ohE49FWtexQw/DWA5W7E9pF0v/aZ1R8LPMPx DdHYtIs4h796qWqxSGUYKLZD9+bFNRVUTb9/hxHqpbRKjs7SVVYXBdKRl8JdlMBVLlu8 9O4g+F1SS+7gOH19v2iwFJqA+VROxvAQSOyKgJ2tjXgv5xzPSfHrcNMYLruaG6fprJwq JqAMb6r+7G+O6lcB/zgKYzNogqZDklLmrX/vuy/t5zOv/VeWuq4chMLHIWamrcWOJGJb r+YA== X-Gm-Message-State: APf1xPBugXKOHwzMpQflj6/+djhUXpv0U7h7PbEZvUNb44YCOPcybAVu ZZSWDsC2j4j3kM7OWwyGpBb+vg== X-Received: by 10.80.189.200 with SMTP id z8mr1208583edh.46.1518512389395; Tue, 13 Feb 2018 00:59:49 -0800 (PST) Received: from localhost.localdomain ([2a01:e0a:f:6020:2529:df33:8519:ee8c]) by smtp.gmail.com with ESMTPSA id z7sm4266339edd.17.2018.02.13.00.59.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Feb 2018 00:59:48 -0800 (PST) From: Vincent Guittot To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: Vincent Guittot Subject: [PATCH] sched: typo: remove space in #ifdef Date: Tue, 13 Feb 2018 09:59:42 +0100 Message-Id: <1518512382-29426-1-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove a useless space in # ifdef and align it with others Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1070803..cad1932 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -2823,7 +2823,7 @@ void reweight_task(struct task_struct *p, int prio) } #ifdef CONFIG_FAIR_GROUP_SCHED -# ifdef CONFIG_SMP +#ifdef CONFIG_SMP /* * All this does is approximate the hierarchical proportion which includes that * global sum we all love to hate. @@ -2974,7 +2974,7 @@ static long calc_group_runnable(struct cfs_rq *cfs_rq, long shares) return clamp_t(long, runnable, MIN_SHARES, shares); } -# endif /* CONFIG_SMP */ +#endif /* CONFIG_SMP */ static inline int throttled_hierarchy(struct cfs_rq *cfs_rq);