From patchwork Wed Jun 27 12:49:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/9] ARM: highbank: enable sp804 based sched_clock Date: Wed, 27 Jun 2012 02:49:38 -0000 From: Ike Panhc X-Patchwork-Id: 167638 Message-Id: <1340801378-17172-1-git-send-email-ike.pan@canonical.com> To: kernel-team@lists.ubuntu.com From: Rob Herring BugLink: http://launchpad.net/bugs/1008345 Initialize sched_clock to use the sp804 timer. Signed-off-by: Rob Herring (cherry picked from commit f3b7cd2a9e3de578a462bb507279870dd41e032e) Signed-off-by: Ike Panhc --- arch/arm/mach-highbank/highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 3f7a1c4..689838c 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c @@ -125,7 +125,7 @@ static void __init highbank_timer_init(void) highbank_clocks_init(); - sp804_clocksource_init(timer_base + 0x20, "timer1"); + sp804_clocksource_and_sched_clock_init(timer_base + 0x20, "timer1"); sp804_clockevents_init(timer_base, irq, "timer0"); }