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 <[email protected]>
---
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
* Josh Hunt <[email protected]> wrote:
> 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 <[email protected]>
> ---
> kernel/sched_debug.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Note, the patch wouldnt apply because it is whitespace damaged - please have a
look at Documentation/email-clients.txt, or send the patch as an attachment.
Thanks,
Ingo
Resending via git.
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 <[email protected]>
---
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
--
1.7.0.4
Commit-ID: eebef74695e1498e04e5f85be9c6f84bd2e7358a
Gitweb: http://git.kernel.org/tip/eebef74695e1498e04e5f85be9c6f84bd2e7358a
Author: Josh Hunt <[email protected]>
AuthorDate: Mon, 19 Jul 2010 12:31:16 -0700
Committer: Ingo Molnar <[email protected]>
CommitDate: Wed, 21 Jul 2010 21:46:12 +0200
sched: Use correct macro to display sched_child_runs_first in /proc/sched_debug
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
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