timex.h 350 B

1234567891011121314151617181920
  1. /*
  2. * linux/include/asm-h8300/timex.h
  3. *
  4. * H8/300 architecture timex specifications
  5. */
  6. #ifndef _ASM_H8300_TIMEX_H
  7. #define _ASM_H8300_TIMEX_H
  8. #define CLOCK_TICK_RATE (CONFIG_CPU_CLOCK*1000/8192) /* Timer input freq. */
  9. typedef unsigned long cycles_t;
  10. extern short h8300_timer_count;
  11. static inline cycles_t get_cycles(void)
  12. {
  13. return 0;
  14. }
  15. #endif