projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Define __raw_get_cpu_var and use it
[deliverable/linux.git]
/
kernel
/
timer.c
diff --git
a/kernel/timer.c
b/kernel/timer.c
index f35b3939e9372c5139f0588a9f728b681d225d17..eb97371b87d8fab6cef055b873a3ca4333c8656c 100644
(file)
--- a/
kernel/timer.c
+++ b/
kernel/timer.c
@@
-146,7
+146,7
@@
static void internal_add_timer(tvec_base_t *base, struct timer_list *timer)
void fastcall init_timer(struct timer_list *timer)
{
timer->entry.next = NULL;
- timer->base =
per_cpu(tvec_bases, raw_smp_processor_id()
);
+ timer->base =
__raw_get_cpu_var(tvec_bases
);
}
EXPORT_SYMBOL(init_timer);
This page took
0.027029 seconds
and
5
git commands to generate.