home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-arm26 / timex.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  598 b   |  30 lines

  1. /*
  2.  *  linux/include/asm-arm/timex.h
  3.  *
  4.  *  Copyright (C) 1997,1998 Russell King
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License version 2 as
  8.  * published by the Free Software Foundation.
  9.  *
  10.  *  Architecture Specific TIME specifications
  11.  */
  12. #ifndef _ASMARM_TIMEX_H
  13. #define _ASMARM_TIMEX_H
  14.  
  15. /*
  16.  * On the RiscPC, the clock ticks at 2MHz.
  17.  */
  18. #define CLOCK_TICK_RATE         2000000
  19.  
  20. /* IS THAT RIGHT ON A5000? FIXME */
  21.  
  22. typedef unsigned long cycles_t;
  23.  
  24. static inline cycles_t get_cycles (void)
  25. {
  26.     return 0;
  27. }
  28.  
  29. #endif
  30.