Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / include / asm / timex.h
blob7c3b3671d6c25eba4be8cb5275b6f2e4c960921a
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * arch/arm/include/asm/timex.h
5 * Copyright (C) 1997,1998 Russell King
7 * Architecture Specific TIME specifications
8 */
9 #ifndef _ASMARM_TIMEX_H
10 #define _ASMARM_TIMEX_H
12 typedef unsigned long cycles_t;
13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
15 #endif