mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / m32r / include / asm / timex.h
bloba4f9f852d9e604c82cbffece43b0bda9cdca6699
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M32R_TIMEX_H
3 #define _ASM_M32R_TIMEX_H
5 /*
6 * linux/include/asm-m32r/timex.h
8 * m32r architecture timex specifications
9 */
11 #define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE)
12 #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
14 #ifdef __KERNEL__
16 * Standard way to access the cycle counter.
17 * Currently only used on SMP.
20 typedef unsigned long long cycles_t;
22 static __inline__ cycles_t get_cycles (void)
24 return 0;
26 #endif /* __KERNEL__ */
28 #endif /* _ASM_M32R_TIMEX_H */