Blame view

include/asm-m32r/timex.h 542 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _ASM_M32R_TIMEX_H
  #define _ASM_M32R_TIMEX_H
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
5
6
7
  /*
   * linux/include/asm-m32r/timex.h
   *
   * m32r architecture timex specifications
   */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8
9
  #define CLOCK_TICK_RATE	(CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE)
  #define CLOCK_TICK_FACTOR	20	/* Factor of both 1000000 and CLOCK_TICK_RATE */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  
  #ifdef __KERNEL__
  /*
   * Standard way to access the cycle counter.
   * Currently only used on SMP.
   */
  
  typedef unsigned long long cycles_t;
  
  static __inline__ cycles_t get_cycles (void)
  {
  	return 0;
  }
  #endif  /* __KERNEL__ */
  
  #endif  /* _ASM_M32R_TIMEX_H */