blob: 1cd2bd3eef33be03a88f8976081a0ec543668924 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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
13typedef unsigned long cycles_t;
14
15static inline cycles_t get_cycles(void)
16{
17 return mfctl(16);
18}
19#define get_cycles get_cycles
20
21#endif