summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/dummy_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/dummy_timer.c')
-rw-r--r--drivers/clocksource/dummy_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/dummy_timer.c b/drivers/clocksource/dummy_timer.c
index ad3572541728..31990600fcff 100644
--- a/drivers/clocksource/dummy_timer.c
+++ b/drivers/clocksource/dummy_timer.c
@@ -28,7 +28,7 @@ static void dummy_timer_set_mode(enum clock_event_mode mode,
static void dummy_timer_setup(void)
{
int cpu = smp_processor_id();
- struct clock_event_device *evt = __this_cpu_ptr(&dummy_timer_evt);
+ struct clock_event_device *evt = raw_cpu_ptr(&dummy_timer_evt);
evt->name = "dummy_timer";
evt->features = CLOCK_EVT_FEAT_PERIODIC |
OpenPOWER on IntegriCloud