1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * linux/include/asm-m68k/timex.h 4 * 5 * m68k architecture timex specifications 6 */ 7 #ifndef _ASMm68K_TIMEX_H 8 #define _ASMm68K_TIMEX_H 9 10 #ifdef CONFIG_COLDFIRE 11 /* 12 * CLOCK_TICK_RATE should give the underlying 13 * to make ntp work best. For Coldfires, that 14 */ 15 #include <asm/coldfire.h> 16 #define CLOCK_TICK_RATE MCF_CLK 17 #else 18 /* 19 * This default CLOCK_TICK_RATE is probably wr 20 * Users of those boards will need to check an 21 */ 22 #define CLOCK_TICK_RATE 1193180 /* Underlying 23 #endif 24 25 typedef unsigned long cycles_t; 26 27 static inline cycles_t get_cycles(void) 28 { 29 return 0; 30 } 31 32 extern unsigned long (*mach_random_get_entropy 33 34 static inline unsigned long random_get_entropy 35 { 36 if (mach_random_get_entropy) 37 return mach_random_get_entropy 38 return random_get_entropy_fallback(); 39 } 40 #define random_get_entropy random_get_ent 41 42 #endif 43
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.