Skip to contentSkip to conversation

sched/debug: Fix printing format of next_balance

PATCH In review Namhyung Kim 1 participant 2 messages Jul 3, 2012 – Jul 16, 2012 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/debug: Fix printing format of next_balance

Use P() for the next_balance since it's in jiffies not nsec.

---
 kernel/sched/debug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/debug.c +1 -1
index c09a4e79f5d0..a408a17a1d33 100644
@@ -280,7 +280,7 @@ do {									\
 	P(nr_switches);
 	P(nr_load_updates);
 	P(nr_uninterruptible);
-	PN(next_balance);
+	P(next_balance);
 	P(curr->pid);
 	PN(clock);
 	P(cpu_load[0]);
Signature · 1 line
1.7.9.2
#1 lore raw

Ping. :)

Quoted 20 lines · Namhyung Kim

Use P() for the next_balance since it's in jiffies not nsec.

---
 kernel/sched/debug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/debug.c +1 -1
index c09a4e79f5d0..a408a17a1d33 100644
@@ -280,7 +280,7 @@ do {									\
 	P(nr_switches);
 	P(nr_load_updates);
 	P(nr_uninterruptible);
-	PN(next_balance);
+	P(next_balance);
 	P(curr->pid);
 	PN(clock);
 	P(cpu_load[0]);