[patch 05/30] PS3: Use ioremap_flags

Geoff Levand geoffrey.levand at am.sony.com
Thu Jun 14 11:42:45 EST 2007


Arnd Bergmann wrote:
> On Tuesday 12 June 2007, Geoff Levand wrote:
>> -       spu->problem = ioremap(spu->problem_phys,
>> -               sizeof(struct spu_problem));
>> +       spu->problem = (__force void *)ioremap_flags(spu->problem_phys,
>> +               sizeof(struct spu_problem), _PAGE_NO_CACHE);
>> +
> 
> Unlike the local_store member, of struct spu, ->problem and ->priv2
> members are __iomem, so you should not do a __force cast here.


OK, thanks for checking it, I just did a quick edit without thinking.

-Geoff




More information about the Linuxppc-dev mailing list