diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index d44db58e8a81..f7ef5a97c0ea 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -379,7 +379,7 @@ void __init smp_setup_cpu_maps(void) | |||
379 | int num_addr_cell, num_size_cell, maxcpus; | 379 | int num_addr_cell, num_size_cell, maxcpus; |
380 | const unsigned int *ireg; | 380 | const unsigned int *ireg; |
381 | 381 | ||
382 | num_addr_cell = prom_n_addr_cells(dn); | 382 | num_addr_cell = of_n_addr_cells(dn); |
383 | num_size_cell = prom_n_size_cells(dn); | 383 | num_size_cell = prom_n_size_cells(dn); |
384 | 384 | ||
385 | ireg = get_property(dn, "ibm,lrdr-capacity", NULL); | 385 | ireg = get_property(dn, "ibm,lrdr-capacity", NULL); |