Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754133Ab1EFHkd (ORCPT ); Fri, 6 May 2011 03:40:33 -0400 Received: from hera.kernel.org ([140.211.167.34]:52856 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753944Ab1EFHkb (ORCPT ); Fri, 6 May 2011 03:40:31 -0400 Date: Fri, 6 May 2011 07:40:03 GMT From: tip-bot for Rakib Mullick Message-ID: Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com, rakib.mullick@gmail.com, peterz@infradead.org, tglx@linutronix.de, mingo@elte.hu Reply-To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, rakib.mullick@gmail.com, peterz@infradead.org, tglx@linutronix.de, mingo@elte.hu In-Reply-To: <1304528026.15681.3.camel@localhost.localdomain> References: <1304528026.15681.3.camel@localhost.localdomain> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/core] sched: Wrap the 'cfs_rq->nr_spread_over' field with CONFIG_SCHED_DEBUG Git-Commit-ID: 4934a4d3d3fa775601a9f1b35cc0e2aa93f81355 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Fri, 06 May 2011 07:40:04 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1412 Lines: 39 Commit-ID: 4934a4d3d3fa775601a9f1b35cc0e2aa93f81355 Gitweb: http://git.kernel.org/tip/4934a4d3d3fa775601a9f1b35cc0e2aa93f81355 Author: Rakib Mullick AuthorDate: Wed, 4 May 2011 22:53:46 +0600 Committer: Ingo Molnar CommitDate: Fri, 6 May 2011 09:04:19 +0200 sched: Wrap the 'cfs_rq->nr_spread_over' field with CONFIG_SCHED_DEBUG cfs_rq->nr_spread_over is only used when CONFIG_SCHED_DEBUG is set. So wrap it with CONFIG_SCHED_DEBUG. Signed-off-by: Rakib Mullick Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1304528026.15681.3.camel@localhost.localdomain Signed-off-by: Ingo Molnar --- kernel/sched.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/sched.c b/kernel/sched.c index f11a2a5..3d8a1b2 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -328,7 +328,9 @@ struct cfs_rq { */ struct sched_entity *curr, *next, *last, *skip; +#ifdef CONFIG_SCHED_DEBUG unsigned int nr_spread_over; +#endif #ifdef CONFIG_FAIR_GROUP_SCHED struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/