Thread (6 messages) 6 messages, 3 authors, 2007-06-14

Re: [patch 05/30] PS3: Use ioremap_flags

From: Geoff Levand <hidden>
Date: 2007-06-14 01:42:51

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help