diff options
author | Saadi Maalem <saadi.maalem@intel.com> | 2014-02-19 17:44:43 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2015-06-02 14:58:32 -0700 |
commit | 31c96c1c16cfc7d9a18652bb2dcf35555bef84fd (patch) | |
tree | b527f4782c406638488fb83026b5d113c168beb3 /kernel | |
parent | 55d3f8d5ba7121a0ee91713d783b7a5724c25390 (diff) | |
download | edison-v3.10-31c96c1c16cfc7d9a18652bb2dcf35555bef84fd.tar.gz |
Edison kernel rebase: Correct merge errors
While cherry-picking patches for Tangier support on top of
3.10.17 Yocto kernel, we have a few merge errors.
Squashing the various corrections into this commit.
Signed-off-by: Saadi Maalem <saadi.maalem@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/timer_list.c | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index b665872f633..61ed862cdd3 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c @@ -256,26 +256,6 @@ static void timer_list_show_tickdevices_header(struct seq_file *m) static inline void timer_list_header(struct seq_file *m, u64 now) { - struct timer_list_iter *iter = v; - - if (iter->cpu == -1 && !iter->second_pass) - timer_list_header(m, iter->now); - else if (!iter->second_pass) - print_cpu(m, iter->cpu, iter->now); -#ifdef CONFIG_GENERIC_CLOCKEVENTS - else if (iter->cpu == -1 && iter->second_pass) - timer_list_show_tickdevices_header(m); - else - print_tickdevice(m, tick_get_device(iter->cpu), iter->cpu); -#endif - return 0; -} - -void sysrq_timer_list_show(void) -{ - u64 now = ktime_to_ns(ktime_get()); - int cpu; - SEQ_printf(m, "Timer List Version: v0.7\n"); SEQ_printf(m, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES); SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now); @@ -285,10 +265,9 @@ void sysrq_timer_list_show(void) static int timer_list_show(struct seq_file *m, void *v) { struct timer_list_iter *iter = v; - u64 now = ktime_to_ns(ktime_get()); if (iter->cpu == -1 && !iter->second_pass) - timer_list_header(m, now); + timer_list_header(m, iter->now); else if (!iter->second_pass) print_cpu(m, iter->cpu, iter->now); #ifdef CONFIG_GENERIC_CLOCKEVENTS @@ -355,14 +334,6 @@ static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset) return move_iter(iter, 1); } -static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset) -{ - struct timer_list_iter *iter = file->private; - iter->cpu = cpumask_next(iter->cpu, cpu_online_mask); - ++*offset; - return timer_list_start(file, offset); -} - static void timer_list_stop(struct seq_file *seq, void *v) { } |