timex.h 343 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * linux/include/asm-parisc/timex.h
  4. *
  5. * PARISC architecture timex specifications
  6. */
  7. #ifndef _ASMPARISC_TIMEX_H
  8. #define _ASMPARISC_TIMEX_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