On 16 May 2011 18:26, Russell King - ARM Linux <li...@arm.linux.org.uk> wrote: > --- a/arch/arm/mach-omap1/time.c > +++ b/arch/arm/mach-omap1/time.c ... > static inline unsigned long notrace omap_mpu_timer_read(int nr) > { > - volatile omap_mpu_timer_regs_t* timer = omap_mpu_timer_base(nr); > - return timer->read_tim; > + omap_mpu_timer_regs_t __iomem *timer = omap_mpu_timer_base(nr); > + return readl(&timer->read_tim); > }
We should start using the *_relaxed() accessors a bit more to avoid the barriers overhead in the standard I/O accessors. -- Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html