timex.h 735 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __ASM_SH64_TIMEX_H
  2. #define __ASM_SH64_TIMEX_H
  3. /*
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * include/asm-sh64/timex.h
  9. *
  10. * Copyright (C) 2000, 2001 Paolo Alberelli
  11. * Copyright (C) 2003 Paul Mundt
  12. *
  13. * sh-5 architecture timex specifications
  14. *
  15. */
  16. #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
  17. #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
  18. typedef unsigned long cycles_t;
  19. static __inline__ cycles_t get_cycles (void)
  20. {
  21. return 0;
  22. }
  23. #define vxtime_lock() do {} while (0)
  24. #define vxtime_unlock() do {} while (0)
  25. #endif /* __ASM_SH64_TIMEX_H */