[brcm63xx] register earlier extended platform devices
[openwrt.git] / target / linux / ixp4xx / patches-2.6.33 / 604-arm-ixp4xx-sched_clock.patch
1 --- a/arch/arm/mach-ixp4xx/common.c
2 +++ b/arch/arm/mach-ixp4xx/common.c
3 @@ -466,6 +466,17 @@ static void __init ixp4xx_clocksource_in
4 }
5
6 /*
7 + * sched_clock()
8 + */
9 +unsigned long long sched_clock(void)
10 +{
11 + cycle_t cyc = ixp4xx_get_cycles(NULL);
12 + struct clocksource *cs = &clocksource_ixp4xx;
13 +
14 + return clocksource_cyc2ns(cyc, cs->mult, cs->shift);
15 +}
16 +
17 +/*
18 * clockevents
19 */
20 static int ixp4xx_set_next_event(unsigned long evt,
This page took 0.036278 seconds and 5 git commands to generate.