public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Josh Hunt <johunt@akamai.com>
To: mingo@elte.hu, peterz@infradead.org
Cc: linux-kernel@vger.kernel.org, juhlenko@akamai.com
Subject: [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug
Date: Fri, 16 Jul 2010 14:51:44 -0700	[thread overview]
Message-ID: <4C40D470.3010100@akamai.com> (raw)

The sched_child_runs_first value in /proc/sched_debug is currently
displayed using a macro meant to split ns time values. This patch uses
the correct macro to display it as a plain decimal value.

Signed-off-by: Josh Hunt <johunt@akamai.com>
---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 3556539..2e1b0d1 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -332,7 +332,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
        PN(sysctl_sched_latency);
        PN(sysctl_sched_min_granularity);
        PN(sysctl_sched_wakeup_granularity);
-       PN(sysctl_sched_child_runs_first);
+       P(sysctl_sched_child_runs_first);
        P(sysctl_sched_features);
 #undef PN
 #undef P

             reply	other threads:[~2010-07-16 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 21:51 Josh Hunt [this message]
2010-07-17 10:17 ` [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug Ingo Molnar
2010-07-19 19:31   ` Josh Hunt
2010-07-21 20:52     ` [tip:sched/core] sched: " tip-bot for Josh Hunt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C40D470.3010100@akamai.com \
    --to=johunt@akamai.com \
    --cc=juhlenko@akamai.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox