summaryrefslogtreecommitdiffstats
path: root/kernel/latencytop.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 16:11:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:54:15 -0700
commiteaa1809b900c460a020bff1f4030f4f6a237b2b2 (patch)
treea5441d72f9150255b1f652d2e2b985d72101bb53 /kernel/latencytop.c
parentb9e5db6d2bbe4416cd1c30c2d1891ef39d6bd0b7 (diff)
downloadop-kernel-dev-eaa1809b900c460a020bff1f4030f4f6a237b2b2.zip
op-kernel-dev-eaa1809b900c460a020bff1f4030f4f6a237b2b2.tar.gz
kernel/latencytop.c: convert seq_printf to seq_puts
This patch also fixes one function declaration over 80 characters. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/latencytop.c')
-rw-r--r--kernel/latencytop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/latencytop.c b/kernel/latencytop.c
index a462b31..a028127 100644
--- a/kernel/latencytop.c
+++ b/kernel/latencytop.c
@@ -88,7 +88,8 @@ static void clear_global_latency_tracing(void)
}
static void __sched
-account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat)
+account_global_scheduler_latency(struct task_struct *tsk,
+ struct latency_record *lat)
{
int firstnonnull = MAXLR + 1;
int i;
@@ -255,7 +256,7 @@ static int lstats_show(struct seq_file *m, void *v)
break;
seq_printf(m, " %ps", (void *)bt);
}
- seq_printf(m, "\n");
+ seq_puts(m, "\n");
}
}
return 0;
OpenPOWER on IntegriCloud