timex.h 328 B

1234567891011121314151617181920
  1. /*
  2. * linux/include/asm-parisc/timex.h
  3. *
  4. * PARISC architecture timex specifications
  5. */
  6. #ifndef _ASMPARISC_TIMEX_H
  7. #define _ASMPARISC_TIMEX_H
  8. #include <asm/system.h>
  9. #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
  10. typedef unsigned long cycles_t;
  11. static inline cycles_t get_cycles (void)
  12. {
  13. return mfctl(16);
  14. }
  15. #endif