Re: [PATCH] ACPI: use ioremap_cache()

From: Tony Luck
Date: Mon Dec 27 2010 - 14:42:33 EST


On Fri, Dec 17, 2010 at 12:08 AM, Len Brown <lenb@xxxxxxxxxx> wrote:
> No change on ia64.

Apart from breaking the build :-(

> +++ b/arch/ia64/include/asm/io.h
...
> +static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned long size)
> +{
> +       return ioremap(unsigned long phys_addr, unsigned long size);
> +}

Cut & paste issue? ... the compiler would be a lot happier
without the "unsigned long"s in the call to ioremap().

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/