timex_64.h 423 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * linux/include/asm/timex.h
  4. *
  5. * sparc64 architecture timex specifications
  6. */
  7. #ifndef _ASMsparc64_TIMEX_H
  8. #define _ASMsparc64_TIMEX_H
  9. #include <asm/timer.h>
  10. #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
  11. /* Getting on the cycle counter on sparc64. */
  12. typedef unsigned long cycles_t;
  13. #define get_cycles() tick_ops->get_tick()
  14. #define ARCH_HAS_READ_CURRENT_TIMER
  15. #endif