timex.h 935 B

1234567891011121314151617181920212223242526272829303132
  1. /* linux/include/asm-arm/arch-s3c2410/timex.h
  2. *
  3. * (c) 2003-2005 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. *
  6. * S3C2410 - time parameters
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. * Changelog:
  13. * 02-Sep-2003 BJD Created file
  14. * 05-Jan-2004 BJD Updated for Linux 2.6.0
  15. * 22-Nov-2004 BJD Fixed CLOCK_TICK_RATE
  16. * 10-Jan-2004 BJD Removed s3c2410_clock_tick_rate
  17. */
  18. #ifndef __ASM_ARCH_TIMEX_H
  19. #define __ASM_ARCH_TIMEX_H
  20. /* CLOCK_TICK_RATE needs to be evaluatable by the cpp, so making it
  21. * a variable is useless. It seems as long as we make our timers an
  22. * exact multiple of HZ, any value that makes a 1->1 correspondence
  23. * for the time conversion functions to/from jiffies is acceptable.
  24. */
  25. #define CLOCK_TICK_RATE 12000000
  26. #endif /* __ASM_ARCH_TIMEX_H */