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.
16 lines
337 B
16 lines
337 B
3 years ago
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||
|
/*
|
||
|
* arch/arm/include/asm/timex.h
|
||
|
*
|
||
|
* Copyright (C) 1997,1998 Russell King
|
||
|
*
|
||
|
* Architecture Specific TIME specifications
|
||
|
*/
|
||
|
#ifndef _ASMARM_TIMEX_H
|
||
|
#define _ASMARM_TIMEX_H
|
||
|
|
||
|
typedef unsigned long cycles_t;
|
||
|
#define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
|
||
|
|
||
|
#endif
|