diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 19:11:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:54:15 -0400 |
commit | eaa1809b900c460a020bff1f4030f4f6a237b2b2 (patch) | |
tree | a5441d72f9150255b1f652d2e2b985d72101bb53 /kernel/latencytop.c | |
parent | b9e5db6d2bbe4416cd1c30c2d1891ef39d6bd0b7 (diff) |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/latencytop.c b/kernel/latencytop.c index a462b317f9a0..a02812743a7e 100644 --- a/kernel/latencytop.c +++ b/kernel/latencytop.c | |||
@@ -88,7 +88,8 @@ static void clear_global_latency_tracing(void) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | static void __sched | 90 | static void __sched |
91 | account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat) | 91 | account_global_scheduler_latency(struct task_struct *tsk, |
92 | struct latency_record *lat) | ||
92 | { | 93 | { |
93 | int firstnonnull = MAXLR + 1; | 94 | int firstnonnull = MAXLR + 1; |
94 | int i; | 95 | int i; |
@@ -255,7 +256,7 @@ static int lstats_show(struct seq_file *m, void *v) | |||
255 | break; | 256 | break; |
256 | seq_printf(m, " %ps", (void *)bt); | 257 | seq_printf(m, " %ps", (void *)bt); |
257 | } | 258 | } |
258 | seq_printf(m, "\n"); | 259 | seq_puts(m, "\n"); |
259 | } | 260 | } |
260 | } | 261 | } |
261 | return 0; | 262 | return 0; |