timex.h 670 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * linux/include/asm-m68k/timex.h
  3. *
  4. * m68k architecture timex specifications
  5. */
  6. #ifndef _ASMm68K_TIMEX_H
  7. #define _ASMm68K_TIMEX_H
  8. #ifdef CONFIG_COLDFIRE
  9. /*
  10. * CLOCK_TICK_RATE should give the underlying frequency of the tick timer
  11. * to make ntp work best. For Coldfires, that's the main clock.
  12. */
  13. #include <asm/coldfire.h>
  14. #define CLOCK_TICK_RATE MCF_CLK
  15. #else
  16. /*
  17. * This default CLOCK_TICK_RATE is probably wrong for many 68k boards
  18. * Users of those boards will need to check and modify accordingly
  19. */
  20. #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
  21. #endif
  22. typedef unsigned long cycles_t;
  23. static inline cycles_t get_cycles(void)
  24. {
  25. return 0;
  26. }
  27. #endif