Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / parisc / include / asm / timex.h
blob06b510f8172e3f429c90e73410d1b574c59345a8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * linux/include/asm-parisc/timex.h
5 * PARISC architecture timex specifications
6 */
7 #ifndef _ASMPARISC_TIMEX_H
8 #define _ASMPARISC_TIMEX_H
10 #include <asm/special_insns.h>
12 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
14 typedef unsigned long cycles_t;
16 static inline cycles_t get_cycles (void)
18 return mfctl(16);
21 #endif