linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / powerpc / platforms / cell / pervasive.c
index 7eed8c6..e0e051c 100644 (file)
@@ -203,7 +203,7 @@ found:
 
        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;
 }
@@ -217,7 +217,7 @@ void __init cell_pervasive_init(void)
        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)