mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
343 B
19 lines
343 B
3 years ago
|
/* 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
|