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