[PATCH 07/15] ARM: tegra: convert to twd_local_timer_register() interface
Stephen Warren
swarren at nvidia.com
Wed Jan 11 16:49:41 EST 2012
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.
...
> 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
More information about the linux-arm-kernel
mailing list