diff options
author | Mark Brown <broonie@kernel.org> | 2015-01-07 17:30:17 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-07 17:30:17 +0000 |
commit | 1285c3fefaddedf5358f52cfde3c2b64d8086a04 (patch) | |
tree | 361f556d6b400e8cb6d16738142db2f69f63ef2f /drivers/clocksource/arm_arch_timer.c | |
parent | 6b038c8d2b99b552f0b025c8a134f8a3c417a3e7 (diff) | |
parent | b1940cd21c0f4abdce101253e860feff547291b0 (diff) |
Merge tag 'v3.19-rc3' into spi-sh-msiof
Linux 3.19-rc3
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
-rw-r--r-- | drivers/clocksource/arm_arch_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 6a79fc4f900c..095c1774592c 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -462,7 +462,7 @@ static void __init arch_counter_register(unsigned type) /* Register the CP15 based counter if we have one */ if (type & ARCH_CP15_TIMER) { - if (arch_timer_use_virtual) + if (IS_ENABLED(CONFIG_ARM64) || arch_timer_use_virtual) arch_timer_read_counter = arch_counter_get_cntvct; else arch_timer_read_counter = arch_counter_get_cntpct; |