diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-15 16:00:41 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-15 16:00:41 +0000 |
commit | 554772a66547afa10bc7fc3040f3bf9259728c60 (patch) | |
tree | 0e13685d463ed4e6c63782bdfa6a4258ba154c99 /target/linux/generic/patches-3.10/030-timer_list_fix.patch | |
parent | 57c6730ed623e347ed8eae420e5e2fa6e67ebecc (diff) | |
download | upstream-554772a66547afa10bc7fc3040f3bf9259728c60.tar.gz upstream-554772a66547afa10bc7fc3040f3bf9259728c60.tar.bz2 upstream-554772a66547afa10bc7fc3040f3bf9259728c60.zip |
kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38000
Diffstat (limited to 'target/linux/generic/patches-3.10/030-timer_list_fix.patch')
-rw-r--r-- | target/linux/generic/patches-3.10/030-timer_list_fix.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/generic/patches-3.10/030-timer_list_fix.patch b/target/linux/generic/patches-3.10/030-timer_list_fix.patch deleted file mode 100644 index ef3c7988fd..0000000000 --- a/target/linux/generic/patches-3.10/030-timer_list_fix.patch +++ /dev/null @@ -1,45 +0,0 @@ -Patch by: Nathan Zimmer <nzimmer@sgi.com> - -Fixes a regression in the commit -"timer_list: Convert timer list to be a proper seq_file" which causes -/proc/timer_list to return an infinite amount of data - - ---- a/kernel/time/timer_list.c -+++ b/kernel/time/timer_list.c -@@ -305,24 +305,26 @@ static void *timer_list_start(struct seq - if (!*offset) { - iter->cpu = -1; - iter->now = ktime_to_ns(ktime_get()); -- } else if (iter->cpu >= nr_cpu_ids) { -+ } else { -+ iter->cpu = cpumask_next(iter->cpu, cpu_online_mask); -+ if (iter->cpu >= nr_cpu_ids) { - #ifdef CONFIG_GENERIC_CLOCKEVENTS -- if (!iter->second_pass) { -- iter->cpu = -1; -- iter->second_pass = true; -- } else -- return NULL; -+ if (!iter->second_pass) { -+ iter->cpu = -1; -+ iter->second_pass = true; -+ } else -+ return NULL; - #else -- return NULL; -+ return NULL; - #endif -+ } - } -+ - return iter; - } - - 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); - } |