From patchwork Thu Jan 16 15:41:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederic Weisbecker X-Patchwork-Id: 23274 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4635D203C4 for ; Thu, 16 Jan 2014 15:43:22 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf11151952iej.0 for ; Thu, 16 Jan 2014 07:43:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=arbEDtbK1bhM7DRF4at1i+gvzKzLtznAJgZXFmkfA0w=; b=OJjORO2mtoIG+m2FlIFV9FzzOwZ38esqhtzfDWcr1w9spXAcfvaUQGW3KE6yY65xBw 8hclQMvUbHXtikRRKnDZChFBoijoNDPc8SB2Q3k8ZggquobY1a9wni15vpX0KqBD70XW R4g7oLhQOv/hYY2PsrYCpSdWxHWM3DvNAmRpTegeK1hePilVSOaPnRc+tOh+OqkRp83c cFzDa0FiSFlIMI5L6ww4bQwia9EMv/3MS34JGwTJZtlCfNFEQiTkme/186SMUItDBqLn +fHlkQ8+aSPuF6zazYinK2cK4SpvyCxdS7GGTV40akdZFpa+0515pVcMrkBxqr1MZ0Xi U9Dg== X-Gm-Message-State: ALoCoQnERmuCu87k5S+hx0h9h3ijfbmg7q3obbpemwyluHXLlzSHUR7EEmjC6opfqG1hsr7ZXqTS X-Received: by 10.50.18.49 with SMTP id t17mr3532426igd.3.1389887001537; Thu, 16 Jan 2014 07:43:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.10 with SMTP id g10ls225203qgf.50.gmail; Thu, 16 Jan 2014 07:43:21 -0800 (PST) X-Received: by 10.140.81.164 with SMTP id f33mr9247154qgd.104.1389887001140; Thu, 16 Jan 2014 07:43:21 -0800 (PST) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [2607:f8b0:400c:c01::22a]) by mx.google.com with ESMTPS id j3si4084376qaf.133.2014.01.16.07.43.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 07:43:21 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22a; Received: by mail-ve0-f170.google.com with SMTP id cz12so1074477veb.29 for ; Thu, 16 Jan 2014 07:43:20 -0800 (PST) X-Received: by 10.52.113.97 with SMTP id ix1mr5959645vdb.9.1389887000818; Thu, 16 Jan 2014 07:43:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp357173ved; Thu, 16 Jan 2014 07:43:20 -0800 (PST) X-Received: by 10.66.216.129 with SMTP id oq1mr10694460pac.75.1389886999846; Thu, 16 Jan 2014 07:43:19 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qx4si7380158pbc.345.2014.01.16.07.43.18; Thu, 16 Jan 2014 07:43:18 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752697AbaAPPnM (ORCPT + 26 others); Thu, 16 Jan 2014 10:43:12 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:59139 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752498AbaAPPmF (ORCPT ); Thu, 16 Jan 2014 10:42:05 -0500 Received: by mail-wg0-f49.google.com with SMTP id a1so3375050wgh.16 for ; Thu, 16 Jan 2014 07:42:04 -0800 (PST) X-Received: by 10.180.76.42 with SMTP id h10mr8779636wiw.46.1389886924776; Thu, 16 Jan 2014 07:42:04 -0800 (PST) Received: from localhost.localdomain (19.104.89.79.rev.sfr.net. [79.89.104.19]) by mx.google.com with ESMTPSA id k10sm6563024wjf.11.2014.01.16.07.42.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2014 07:42:03 -0800 (PST) From: Frederic Weisbecker To: Ingo Molnar Cc: LKML , Alex Shi , Thomas Gleixner , Peter Zijlstra , Steven Rostedt , "Paul E. McKenney" , John Stultz , Kevin Hilman , Frederic Weisbecker Subject: [PATCH 3/4] nohz_full: fix code style issue of tick_nohz_full_stop_tick Date: Thu, 16 Jan 2014 16:41:51 +0100 Message-Id: <1389886912-4783-4-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1389886912-4783-1-git-send-email-fweisbec@gmail.com> References: <1389886912-4783-1-git-send-email-fweisbec@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: fweisbec@gmail.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (bad format) header.i=@gmail.com; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Alex Shi Code usually starts with 'tab' instead of 7 'space' in kernel Signed-off-by: Alex Shi Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Alex Shi Cc: Steven Rostedt Cc: Paul E. McKenney Cc: John Stultz Cc: Kevin Hilman Link: http://lkml.kernel.org/r/1386074112-30754-2-git-send-email-alex.shi@linaro.org Signed-off-by: Frederic Weisbecker --- kernel/time/tick-sched.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 68331d1..d603bad 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -679,18 +679,18 @@ out: static void tick_nohz_full_stop_tick(struct tick_sched *ts) { #ifdef CONFIG_NO_HZ_FULL - int cpu = smp_processor_id(); + int cpu = smp_processor_id(); - if (!tick_nohz_full_cpu(cpu) || is_idle_task(current)) - return; + if (!tick_nohz_full_cpu(cpu) || is_idle_task(current)) + return; - if (!ts->tick_stopped && ts->nohz_mode == NOHZ_MODE_INACTIVE) - return; + if (!ts->tick_stopped && ts->nohz_mode == NOHZ_MODE_INACTIVE) + return; - if (!can_stop_full_tick()) - return; + if (!can_stop_full_tick()) + return; - tick_nohz_stop_sched_tick(ts, ktime_get(), cpu); + tick_nohz_stop_sched_tick(ts, ktime_get(), cpu); #endif }