Thread (2 messages) flat view 2 messages, 1 author, 2012-01-17
DORMANTno replies

[PATCH 2/2] ARM: highbank: enable sp804 based sched_clock

From: Rob Herring <hidden>
Date: 2012-01-17 02:40:12
Subsystem: arm port, arm/calxeda highbank architecture, the rest · Maintainers: Russell King, Andre Przywara, Linus Torvalds

From: Rob Herring <redacted>

Initialize sched_clock to use the sp804 timer.

Signed-off-by: Rob Herring <redacted>
---
 arch/arm/mach-highbank/highbank.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c
index 804c4a5..564a0c3 100644
--- a/arch/arm/mach-highbank/highbank.c
+++ b/arch/arm/mach-highbank/highbank.c
@@ -111,7 +111,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");
 }
 
-- 
1.7.5.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help