aboutsummaryrefslogtreecommitdiffstats
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
parentkernel/exec_domain.c: code clean-up (diff)
downloadlinux-dev-eaa1809b900c460a020bff1f4030f4f6a237b2b2.tar.xz
linux-dev-eaa1809b900c460a020bff1f4030f4f6a237b2b2.zip
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 a462b317f9a0..a02812743a7e 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;