git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
powerpc
/
platforms
/
cell
/
pervasive.c
diff --git
a/arch/powerpc/platforms/cell/pervasive.c
b/arch/powerpc/platforms/cell/pervasive.c
index
7eed8c6
..
e0e051c
100644
(file)
--- a/
arch/powerpc/platforms/cell/pervasive.c
+++ b/
arch/powerpc/platforms/cell/pervasive.c
@@
-203,7
+203,7
@@
found:
pr_debug("pervasive area for CPU %d at %lx, size %x\n",
cpu, real_address, size);
pr_debug("pervasive area for CPU %d at %lx, size %x\n",
cpu, real_address, size);
- p->regs =
ioremap(real_address, size
);
+ p->regs =
__ioremap(real_address, size, _PAGE_NO_CACHE
);
p->thread = thread;
return 0;
}
p->thread = thread;
return 0;
}
@@
-217,7
+217,7
@@
void __init cell_pervasive_init(void)
if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO))
return;
if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO))
return;
- for_each_
possible_
cpu(cpu) {
+ for_each_cpu(cpu) {
p = &cbe_pervasive[cpu];
ret = cbe_find_pmd_mmio(cpu, p);
if (ret)
p = &cbe_pervasive[cpu];
ret = cbe_find_pmd_mmio(cpu, p);
if (ret)