treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / include / asm / timex.h
blobcf59ce91b22d87dd41ac6031cbbe2454b030a779
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2012 ARM Ltd.
4 */
5 #ifndef __ASM_TIMEX_H
6 #define __ASM_TIMEX_H
8 #include <asm/arch_timer.h>
11 * Use the current timer as a cycle counter since this is what we use for
12 * the delay loop.
14 #define get_cycles() arch_timer_read_counter()
16 #include <asm-generic/timex.h>
18 #endif