summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/timex.h
blob: cf59ce91b22d87dd41ac6031cbbe2454b030a779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2012 ARM Ltd.
 */
#ifndef __ASM_TIMEX_H
#define __ASM_TIMEX_H

#include <asm/arch_timer.h>

/*
 * Use the current timer as a cycle counter since this is what we use for
 * the delay loop.
 */
#define get_cycles()	arch_timer_read_counter()

#include <asm-generic/timex.h>

#endif