aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@org.rmk.(none)>2005-01-10 21:23:00 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2005-01-10 21:23:00 +0000
commit167bfb35652f4e4dfa9bccf44c1df47692da83c7 (patch)
treedcc79cad494b8deb66c3582f079c9e116d91dd85 /include
parent1c57b803d9f4fe487e1172418630752c12286e89 (diff)
downloadhistory-167bfb35652f4e4dfa9bccf44c1df47692da83c7.tar.gz
[ARM PATCH] 2372/1: S3C2410 - remove s3c2410_clock_tick_rate
Patch from Ben Dooks This is an old definition, and is no longer used anywhere. Add a comment to that effect in the header file include/asm-arm/arch-s3c2410/timex.h and remove all other references. Thanks to Klaus Fetscher for pointing out that it isn't used anymore Signed-off-by: Ben Dooks Signed-off-by: Russell King
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-s3c2410/timex.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/asm-arm/arch-s3c2410/timex.h b/include/asm-arm/arch-s3c2410/timex.h
index 44aa0dcf8fcc19..3558a3a750bfeb 100644
--- a/include/asm-arm/arch-s3c2410/timex.h
+++ b/include/asm-arm/arch-s3c2410/timex.h
@@ -1,6 +1,6 @@
/* linux/include/asm-arm/arch-s3c2410/timex.h
*
- * (c) 2003,2004 Simtec Electronics
+ * (c) 2003-2005 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* S3C2410 - time parameters
@@ -13,21 +13,19 @@
* 02-Sep-2003 BJD Created file
* 05-Jan-2004 BJD Updated for Linux 2.6.0
* 22-Nov-2004 BJD Fixed CLOCK_TICK_RATE
+ * 10-Jan-2004 BJD Removed s3c2410_clock_tick_rate
*/
#ifndef __ASM_ARCH_TIMEX_H
#define __ASM_ARCH_TIMEX_H
-#if 0
-/* todo - this does not seem to work with 2.6.0 -> division by zero
- * in header files
- */
-extern int s3c2410_clock_tick_rate;
+/* CLOCK_TICK_RATE needs to be evaluatable by the cpp, so making it
+ * a variable is useless. It seems as long as we make our timers an
+ * exact multiple of HZ, any value that makes a 1->1 correspondence
+ * for the time conversion functions to/from jiffies is acceptable.
+*/
-#define CLOCK_TICK_RATE (s3c2410_clock_tick_rate)
-#endif
-/* currently, the BAST uses 12MHz as a base clock rate */
#define CLOCK_TICK_RATE 12000000