of: Reorder device tree changes and notifiers
[deliverable/linux.git] / arch / powerpc / platforms / pseries / hotplug-memory.c
index 7995135170a31a35a7824703f72fe26b93b145a7..ac01e188faef377cece87b538129315e63ccf7d7 100644 (file)
@@ -194,7 +194,7 @@ static int pseries_update_drconf_memory(struct of_prop_reconfig *pr)
        if (!memblock_size)
                return -EINVAL;
 
-       p = (u32 *)of_get_property(pr->dn, "ibm,dynamic-memory", NULL);
+       p = (u32 *) pr->old_prop->value;
        if (!p)
                return -EINVAL;
 
This page took 0.024775 seconds and 5 git commands to generate.