git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/oprofile: Replace __get_cpu_var uses for address calculation
[pandora-kernel.git]
/
drivers
/
oprofile
/
timer_int.c
diff --git
a/drivers/oprofile/timer_int.c
b/drivers/oprofile/timer_int.c
index
61be1d9
..
bdef916
100644
(file)
--- a/
drivers/oprofile/timer_int.c
+++ b/
drivers/oprofile/timer_int.c
@@
-32,7
+32,7
@@
static enum hrtimer_restart oprofile_hrtimer_notify(struct hrtimer *hrtimer)
static void __oprofile_hrtimer_start(void *unused)
{
- struct hrtimer *hrtimer =
&__get_cpu_var(
oprofile_hrtimer);
+ struct hrtimer *hrtimer =
this_cpu_ptr(&
oprofile_hrtimer);
if (!ctr_running)
return;