|
@@ -432,7 +432,7 @@ static struct clocksource clocksource_ixp4xx = {
|
|
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
|
|
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
|
|
};
|
|
};
|
|
|
|
|
|
-unsigned long ixp4xx_timer_freq = FREQ;
|
|
|
|
|
|
+unsigned long ixp4xx_timer_freq = IXP4XX_TIMER_FREQ;
|
|
EXPORT_SYMBOL(ixp4xx_timer_freq);
|
|
EXPORT_SYMBOL(ixp4xx_timer_freq);
|
|
static void __init ixp4xx_clocksource_init(void)
|
|
static void __init ixp4xx_clocksource_init(void)
|
|
{
|
|
{
|
|
@@ -496,7 +496,7 @@ static struct clock_event_device clockevent_ixp4xx = {
|
|
|
|
|
|
static void __init ixp4xx_clockevent_init(void)
|
|
static void __init ixp4xx_clockevent_init(void)
|
|
{
|
|
{
|
|
- clockevent_ixp4xx.mult = div_sc(FREQ, NSEC_PER_SEC,
|
|
|
|
|
|
+ clockevent_ixp4xx.mult = div_sc(IXP4XX_TIMER_FREQ, NSEC_PER_SEC,
|
|
clockevent_ixp4xx.shift);
|
|
clockevent_ixp4xx.shift);
|
|
clockevent_ixp4xx.max_delta_ns =
|
|
clockevent_ixp4xx.max_delta_ns =
|
|
clockevent_delta2ns(0xfffffffe, &clockevent_ixp4xx);
|
|
clockevent_delta2ns(0xfffffffe, &clockevent_ixp4xx);
|