forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/parisc/include/asm/timex.h
....@@ -7,14 +7,16 @@
77 #ifndef _ASMPARISC_TIMEX_H
88 #define _ASMPARISC_TIMEX_H
99
10
+#include <asm/special_insns.h>
1011
1112 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
1213
1314 typedef unsigned long cycles_t;
1415
15
-static inline cycles_t get_cycles (void)
16
+static inline cycles_t get_cycles(void)
1617 {
1718 return mfctl(16);
1819 }
20
+#define get_cycles get_cycles
1921
2022 #endif