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>
此提交包含在:

提交者
Michael Ellerman

父節點
84b62c72fa
當前提交
406b0b6ae3
@@ -420,10 +420,8 @@ machine_device_initcall(pasemi, pasemi_publish_devices);
|
||||
*/
|
||||
static int __init pas_probe(void)
|
||||
{
|
||||
unsigned long root = of_get_flat_dt_root();
|
||||
|
||||
if (!of_flat_dt_is_compatible(root, "PA6T-1682M") &&
|
||||
!of_flat_dt_is_compatible(root, "pasemi,pwrficient"))
|
||||
if (!of_machine_is_compatible("PA6T-1682M") &&
|
||||
!of_machine_is_compatible("pasemi,pwrficient"))
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
|
新增問題並參考
封鎖使用者