diff options
Diffstat (limited to 'arch/sparc/kernel/time_64.c')
-rw-r--r-- | arch/sparc/kernel/time_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c index 3fddf64c7fc6..59da0c3ea788 100644 --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c | |||
@@ -765,7 +765,7 @@ void setup_sparc64_timer(void) | |||
765 | : /* no outputs */ | 765 | : /* no outputs */ |
766 | : "r" (pstate)); | 766 | : "r" (pstate)); |
767 | 767 | ||
768 | sevt = &__get_cpu_var(sparc64_events); | 768 | sevt = this_cpu_ptr(&sparc64_events); |
769 | 769 | ||
770 | memcpy(sevt, &sparc64_clockevent, sizeof(*sevt)); | 770 | memcpy(sevt, &sparc64_clockevent, sizeof(*sevt)); |
771 | sevt->cpumask = cpumask_of(smp_processor_id()); | 771 | sevt->cpumask = cpumask_of(smp_processor_id()); |