powerpc: Get rid of ppc_md.init_early()
It is now called right after platform probe, so the probe function can just do the job. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cette révision appartient à :

révisé par
Michael Ellerman

Parent
5657138404
révision
f2d576948d
@@ -263,9 +263,6 @@ void __init setup_arch(char **cmdline_p)
|
||||
|
||||
setup_power_save();
|
||||
|
||||
if (ppc_md.init_early)
|
||||
ppc_md.init_early();
|
||||
|
||||
find_legacy_serial_ports();
|
||||
|
||||
smp_setup_cpu_maps();
|
||||
|
@@ -511,14 +511,6 @@ void __init setup_system(void)
|
||||
/* Probe the machine type */
|
||||
probe_machine();
|
||||
|
||||
/*
|
||||
* Do some platform specific early initializations, that includes
|
||||
* setting up the hash table pointers. It also sets up some interrupt-mapping
|
||||
* related options that will be used by finish_device_tree()
|
||||
*/
|
||||
if (ppc_md.init_early)
|
||||
ppc_md.init_early();
|
||||
|
||||
/*
|
||||
* We can discover serial ports now since the above did setup the
|
||||
* hash table management for us, thus ioremap works. We do that early
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur