aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-11-12 14:56:02 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-12-20 05:44:18 -0500
commita509ad0ca71cfb2419e8da15e71519b18ad585b3 (patch)
treedb2e34c8b6839c50a7b0e6e69fcc8c28eb287657 /arch
parentea15811992c74cbfa42ecbfbb0fdaeb377c9fe54 (diff)
ARM: ep93xx: stop using mach/timex.h
mach/timex.h is the last remaining header that is unused for multiarch builds but necessary for singlearch builds. To allow to get rid of it for singlearch builds, too, drop its usage in ep93xx arch code by substituting CLOCK_TICK_RATE by an already defined local cpp symbol. Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ep93xx/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
index d95ee28a616a..94b141fcf944 100644
--- a/arch/arm/mach-ep93xx/core.c
+++ b/arch/arm/mach-ep93xx/core.c
@@ -115,7 +115,7 @@ void __init ep93xx_map_io(void)
115#define EP93XX_TIMER4_CLOCK 983040 115#define EP93XX_TIMER4_CLOCK 983040
116 116
117#define TIMER1_RELOAD ((EP93XX_TIMER123_CLOCK / HZ) - 1) 117#define TIMER1_RELOAD ((EP93XX_TIMER123_CLOCK / HZ) - 1)
118#define TIMER4_TICKS_PER_JIFFY DIV_ROUND_CLOSEST(CLOCK_TICK_RATE, HZ) 118#define TIMER4_TICKS_PER_JIFFY DIV_ROUND_CLOSEST(EP93XX_TIMER4_CLOCK, HZ)
119 119
120static unsigned int last_jiffy_time; 120static unsigned int last_jiffy_time;
121 121