powerpc/64: Move 64-bit probe_machine() to later in the boot process
We no long need the machine type that early, so we can move probe_machine() to after the device-tree has been expanded. This will allow further consolidation. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Michael Ellerman

vecāks
84b62c72fa
revīzija
406b0b6ae3
@@ -255,10 +255,8 @@ static void __init cell_setup_arch(void)
|
||||
|
||||
static int __init cell_probe(void)
|
||||
{
|
||||
unsigned long root = of_get_flat_dt_root();
|
||||
|
||||
if (!of_flat_dt_is_compatible(root, "IBM,CBEA") &&
|
||||
!of_flat_dt_is_compatible(root, "IBM,CPBW-1.0"))
|
||||
if (!of_machine_is_compatible("IBM,CBEA") &&
|
||||
!of_machine_is_compatible("IBM,CPBW-1.0"))
|
||||
return 0;
|
||||
|
||||
pm_power_off = rtas_power_off;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user