aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spu_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_base.c')
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index 162b6cfa8a43..d152a3fbdb83 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -570,6 +570,11 @@ static int __init spu_map_device(struct spu *spu, struct device_node *spe)
570 if (!spu->local_store) 570 if (!spu->local_store)
571 goto out; 571 goto out;
572 572
573 prop = get_property(spe, "problem", NULL);
574 if (!prop)
575 goto out_unmap;
576 spu->problem_phys = *(unsigned long *)prop;
577
573 spu->problem= map_spe_prop(spe, "problem"); 578 spu->problem= map_spe_prop(spe, "problem");
574 if (!spu->problem) 579 if (!spu->problem)
575 goto out_unmap; 580 goto out_unmap;