Thread (36 messages) flat view 36 messages, 8 authors, 2012-01-14
STALE5326d

[PATCH 07/15] ARM: tegra: convert to twd_local_timer_register() interface

From: Stephen Warren <hidden>
Date: 2012-01-11 21:49:41

Marc Zyngier wrote at Wednesday, January 11, 2012 6:09 AM:
Add support for the new smp_twd runtime registration interface
to the tegra platforms, and remove the old compile-time support.
Tested on Harmony.
...
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-tegra/timer.c b/arch/arm/mach-tegra/timer.c
...
+#ifdef CONFIG_HAVE_ARM_TWD
+static struct twd_local_timer twd_local_timer __initdata = {
+	.res =	{
+		{
+			.start	= TEGRA_ARM_PERIF_BASE + 0x600,
+			.end	= TEGRA_ARM_PERIF_BASE + 0x610,
Don't you need to subtract 1 from .end there?
+			.flags	= IORESOURCE_MEM,
+		},
-- 
nvpublic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help