Commit e70bd3ae authored by Bharata B Rao's avatar Bharata B Rao Committed by Michael Ellerman

powerpc/numa: Fix whitespace in hot_add_drconf_memory_max()

Signed-off-by: default avatarBharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 6262db7c
...@@ -1163,18 +1163,18 @@ int hot_add_scn_to_nid(unsigned long scn_addr) ...@@ -1163,18 +1163,18 @@ int hot_add_scn_to_nid(unsigned long scn_addr)
static u64 hot_add_drconf_memory_max(void) static u64 hot_add_drconf_memory_max(void)
{ {
struct device_node *memory = NULL; struct device_node *memory = NULL;
unsigned int drconf_cell_cnt = 0; unsigned int drconf_cell_cnt = 0;
u64 lmb_size = 0; u64 lmb_size = 0;
const __be32 *dm = NULL; const __be32 *dm = NULL;
memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory"); memory = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
if (memory) { if (memory) {
drconf_cell_cnt = of_get_drconf_memory(memory, &dm); drconf_cell_cnt = of_get_drconf_memory(memory, &dm);
lmb_size = of_get_lmb_size(memory); lmb_size = of_get_lmb_size(memory);
of_node_put(memory); of_node_put(memory);
} }
return lmb_size * drconf_cell_cnt; return lmb_size * drconf_cell_cnt;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment