2 * linux/include/asm-arm/timex.h
4 * Copyright (C) 1997,1998 Russell King
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.
10 * Architecture Specific TIME specifications
12 #ifndef _ASMARM_TIMEX_H
13 #define _ASMARM_TIMEX_H
16 * On the RiscPC, the clock ticks at 2MHz.
18 #define CLOCK_TICK_RATE 2000000
20 /* IS THAT RIGHT ON A5000? FIXME */
22 typedef unsigned long cycles_t;
24 static inline cycles_t get_cycles (void)