diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2007-10-11 08:23:34 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-29 09:39:38 +0100 |
commit | 129f1d2c5352eea3f7c8af9f8c1006dc0da7be52 (patch) | |
tree | 7037fc1981edb3797d31f1ba49b922e7b9bf0dfd /kernel/time | |
parent | 64e38eb082bd845d6758079f65b191203986336d (diff) | |
download | linux-129f1d2c5352eea3f7c8af9f8c1006dc0da7be52.tar.gz linux-129f1d2c5352eea3f7c8af9f8c1006dc0da7be52.tar.bz2 linux-129f1d2c5352eea3f7c8af9f8c1006dc0da7be52.zip |
timer_list: Fix printk format strings
This makes sure printk format strings contain no more than a single
line.
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/timer_list.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index fdb2e03d4fe0..12c5f4cb6b8c 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c @@ -129,7 +129,8 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now) struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); int i; - SEQ_printf(m, "\ncpu: %d\n", cpu); + SEQ_printf(m, "\n"); + SEQ_printf(m, "cpu: %d\n", cpu); for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) { SEQ_printf(m, " clock %d:\n", i); print_base(m, cpu_base->clock_base + i, now); @@ -184,7 +185,8 @@ print_tickdevice(struct seq_file *m, struct tick_device *td) { struct clock_event_device *dev = td->evtdev; - SEQ_printf(m, "\nTick Device: mode: %d\n", td->mode); + SEQ_printf(m, "\n"); + SEQ_printf(m, "Tick Device: mode: %d\n", td->mode); SEQ_printf(m, "Clock Event Device: "); if (!dev) { |