home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / cris / include / asm / timex.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  394 b   |  25 lines

  1. /*
  2.  * linux/include/asm-cris/timex.h
  3.  *
  4.  * CRIS architecture timex specifications
  5.  */
  6.  
  7. #ifndef _ASM_CRIS_TIMEX_H
  8. #define _ASM_CRIS_TIMEX_H
  9.  
  10. #include <arch/timex.h>
  11.  
  12. /*
  13.  * We don't have a cycle-counter.. but we do not support SMP anyway where this is
  14.  * used so it does not matter.
  15.  */
  16.  
  17. typedef unsigned long long cycles_t;
  18.  
  19. static inline cycles_t get_cycles(void)
  20. {
  21.         return 0;
  22. }
  23.  
  24. #endif
  25.