]> Git Repo - linux.git/blob - arch/parisc/include/asm/timex.h
Linux 6.14-rc3
[linux.git] / arch / parisc / include / asm / timex.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * linux/include/asm-parisc/timex.h
4  *
5  * PARISC architecture timex specifications
6  */
7 #ifndef _ASMPARISC_TIMEX_H
8 #define _ASMPARISC_TIMEX_H
9
10 #include <asm/special_insns.h>
11
12 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
13
14 typedef unsigned long cycles_t;
15
16 static inline cycles_t get_cycles(void)
17 {
18         return mfctl(16);
19 }
20 #define get_cycles get_cycles
21
22 #endif
This page took 0.032579 seconds and 4 git commands to generate.