[PATCH 8/8] at91: add arch specific ioremap support
arnd at arndb.de
Fri Jul 1 11:59:37 EDT 2011
On Friday 01 July 2011, Jean-Christophe PLAGNIOL-VILLARD wrote:
> +static inline unsigned int at91_readl(unsigned int pa)
> + return __raw_readl((void __iomem *)AT91_IO_P2V(pa));
This function looks quite unusual and not in a good way. You also don't
seem to use it at all.
Why is this needed, can can't you change all users to do ioremap?
More information about the linux-arm-kernel