aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.vnet.ibm.com>2016-05-12 09:34:14 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-14 02:06:05 -0400
commite70bd3ae914ec40d8505ed842d14285aac50b77a (patch)
tree59dc31f743d8e0753de98033c28402caf7d6e47b /arch/powerpc/mm
parent6262db7c088bbfc26480d10144cde70bbf077be3 (diff)
powerpc/numa: Fix whitespace in hot_add_drconf_memory_max()
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/numa.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 669a15e7fa76..4a87ccb8970f 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1163,18 +1163,18 @@ int hot_add_scn_to_nid(unsigned long scn_addr)
1163 1163
1164static u64 hot_add_drconf_memory_max(void) 1164static u64 hot_add_drconf_memory_max(void)
1165{ 1165{
1166 struct device_node *memory = NULL; 1166 struct device_node *memory = NULL;
1167 unsigned int drconf_cell_cnt = 0; 1167 unsigned int drconf_cell_cnt = 0;
1168 u64 lmb_size = 0; 1168 u64 lmb_size = 0;
1169 const __be32 *dm = NULL; 1169 const __be32 *dm = NULL;
1170 1170
1171 memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory"); 1171 memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
1172 if (memory) { 1172 if (memory) {
1173 drconf_cell_cnt = of_get_drconf_memory(memory, &dm); 1173 drconf_cell_cnt = of_get_drconf_memory(memory, &dm);
1174 lmb_size = of_get_lmb_size(memory); 1174 lmb_size = of_get_lmb_size(memory);
1175 of_node_put(memory); 1175 of_node_put(memory);
1176 } 1176 }
1177 return lmb_size * drconf_cell_cnt; 1177 return lmb_size * drconf_cell_cnt;
1178} 1178}
1179 1179
1180/* 1180/*