aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/pseries/hotplug-memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c
index 7995135170a3..369da0f09066 100644
--- a/arch/powerpc/platforms/pseries/hotplug-memory.c
+++ b/arch/powerpc/platforms/pseries/hotplug-memory.c
@@ -126,7 +126,7 @@ static int pseries_remove_mem_node(struct device_node *np)
126 return 0; 126 return 0;
127 127
128 /* 128 /*
129 * Find the bae address and size of the memblock 129 * Find the base address and size of the memblock
130 */ 130 */
131 regs = of_get_property(np, "reg", NULL); 131 regs = of_get_property(np, "reg", NULL);
132 if (!regs) 132 if (!regs)
@@ -200,7 +200,7 @@ static int pseries_update_drconf_memory(struct of_prop_reconfig *pr)
200 200
201 /* The first int of the property is the number of lmb's described 201 /* The first int of the property is the number of lmb's described
202 * by the property. This is followed by an array of of_drconf_cell 202 * by the property. This is followed by an array of of_drconf_cell
203 * entries. Get the niumber of entries and skip to the array of 203 * entries. Get the number of entries and skip to the array of
204 * of_drconf_cell's. 204 * of_drconf_cell's.
205 */ 205 */
206 entries = *p++; 206 entries = *p++;