Re: [PATCH] ACPI: use ioremap_cache()

From: H. Peter Anvin
Date: Mon Dec 27 2010 - 15:12:49 EST


On 12/27/2010 11:42 AM, Tony Luck wrote:
> 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().
>

LOL...

In the long(er) run it might be worth considering having the same policy
on IA64 as on x86 -- ioremap() meaning ioremap_nocache().

-hpa

--
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/