]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/parisc/include/asm/timex.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-focal-kernel.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
11 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
12
13 typedef unsigned long cycles_t;
14
15 static inline cycles_t get_cycles (void)
16 {
17 return mfctl(16);
18 }
19
20 #endif