Arnd Bergmann wrote:
On Tuesday 12 June 2007, Geoff Levand wrote:
quoted
- 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