[POWERPC] Rename prom_n_size_cells to of_n_size_cells
[linux-2.6.git] / arch / powerpc / mm / numa.c
index 119cef9..683839b 100644 (file)
@@ -202,7 +202,7 @@ static void __init get_n_mem_cells(int *n_addr_cells, int *n_size_cells)
                panic("numa.c: No memory nodes found!");
 
        *n_addr_cells = of_n_addr_cells(memory);
-       *n_size_cells = prom_n_size_cells(memory);
+       *n_size_cells = of_n_size_cells(memory);
        of_node_put(memory);
 }