projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e1517
)
timer: Use variable head instead of &work_list in __run_timers()
author
Viresh Kumar
<viresh.kumar@linaro.org>
Tue, 18 Mar 2014 07:53:15 +0000
(13:23 +0530)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 20 Mar 2014 11:35:45 +0000
(12:35 +0100)
We already have a variable 'head' that points to '&work_list', and so
we should use that instead wherever possible.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linaro-kernel@lists.linaro.org
Link:
http://lkml.kernel.org/r/0d8645a6efc8360c4196c9797d59343abbfdcc5e.1395129136.git.viresh.kumar@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/timer.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/timer.c
b/kernel/timer.c
index 949d74ea0ce4fb66b3d5b162c5d5c4c00f8dcc3a..8e503fec1fbaa59b1ec4e7ed413cafb58dfe9f58 100644
(file)
--- a/
kernel/timer.c
+++ b/
kernel/timer.c
@@
-1192,7
+1192,7
@@
static inline void __run_timers(struct tvec_base *base)
!cascade(base, &base->tv4, INDEX(2)))
cascade(base, &base->tv5, INDEX(3));
++base->timer_jiffies;
- list_replace_init(base->tv1.vec + index,
&work_list
);
+ list_replace_init(base->tv1.vec + index,
head
);
while (!list_empty(head)) {
void (*fn)(unsigned long);
unsigned long data;