diff options
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r-- | arch/powerpc/mm/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index e86c37c82cfd..119cef99a2b0 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c | |||
@@ -201,7 +201,7 @@ static void __init get_n_mem_cells(int *n_addr_cells, int *n_size_cells) | |||
201 | if (!memory) | 201 | if (!memory) |
202 | panic("numa.c: No memory nodes found!"); | 202 | panic("numa.c: No memory nodes found!"); |
203 | 203 | ||
204 | *n_addr_cells = prom_n_addr_cells(memory); | 204 | *n_addr_cells = of_n_addr_cells(memory); |
205 | *n_size_cells = prom_n_size_cells(memory); | 205 | *n_size_cells = prom_n_size_cells(memory); |
206 | of_node_put(memory); | 206 | of_node_put(memory); |
207 | } | 207 | } |