summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/timex.h')
-rw-r--r--arch/arm64/include/asm/timex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/timex.h b/arch/arm64/include/asm/timex.h
index 81a076eb37fa..9ad60bae5c8d 100644
--- a/arch/arm64/include/asm/timex.h
+++ b/arch/arm64/include/asm/timex.h
@@ -22,7 +22,7 @@
* Use the current timer as a cycle counter since this is what we use for
* the delay loop.
*/
-#define get_cycles() arch_counter_get_cntvct()
+#define get_cycles() arch_timer_read_counter()
#include <asm-generic/timex.h>