treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / parisc / include / asm / timex.h
blob45537cd4d1d39b337e23a180766660e0ff44d7fd
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
11 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
13 typedef unsigned long cycles_t;
15 static inline cycles_t get_cycles (void)
17 return mfctl(16);
20 #endif