44aa0dcf8fcc19b14a2827a3f2b7dd2395363f8e
[linux-2.6.git] / include / asm-arm / arch-s3c2410 / timex.h
1 /* linux/include/asm-arm/arch-s3c2410/timex.h
2  *
3  * (c) 2003,2004 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 */
17
18 #ifndef __ASM_ARCH_TIMEX_H
19 #define __ASM_ARCH_TIMEX_H
20
21 #if 0
22 /* todo - this does not seem to work with 2.6.0 -> division by zero
23  * in header files
24  */
25 extern int s3c2410_clock_tick_rate;
26
27 #define CLOCK_TICK_RATE (s3c2410_clock_tick_rate)
28 #endif
29
30 /* currently, the BAST uses 12MHz as a base clock rate */
31 #define CLOCK_TICK_RATE 12000000
32
33
34 #endif /* __ASM_ARCH_TIMEX_H */