projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879d927
)
drivers/clocksource: Replace __get_cpu_var used for address calculation
author
Christoph Lameter
<cl@linux.com>
Sun, 17 Aug 2014 17:30:32 +0000
(12:30 -0500)
committer
Tejun Heo
<tj@kernel.org>
Tue, 26 Aug 2014 17:45:46 +0000
(13:45 -0400)
Replace __get_cpu_var used for address calculation with this_cpu_ptr.
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/clocksource/metag_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clocksource/metag_generic.c
b/drivers/clocksource/metag_generic.c
index 9e4db41abe3ccc0a84b350e159f7fa2ed6b001b2..b7384b853e5a8203534d398f3adb7ec20089f7cc 100644
(file)
--- a/
drivers/clocksource/metag_generic.c
+++ b/
drivers/clocksource/metag_generic.c
@@
-90,7
+90,7
@@
static struct clocksource clocksource_metag = {
static irqreturn_t metag_timer_interrupt(int irq, void *dummy)
{
- struct clock_event_device *evt =
&__get_cpu_var(
local_clockevent);
+ struct clock_event_device *evt =
this_cpu_ptr(&
local_clockevent);
evt->event_handler(evt);