killing use of ppc_md.init
Gerhard Pircher
gerhard_pircher at gmx.net
Fri Jun 19 18:30:24 EST 2009
-------- Original-Nachricht --------
> Datum: Thu, 18 Jun 2009 09:38:50 -0500
> Von: Kumar Gala <galak at kernel.crashing.org>
> An: Gerhard Pircher <gerhard_pircher at gmx.net>, Benjamin Herrenschmidt <benh at kernel.crashing.org>
> CC: linuxppc-dev list <linuxppc-dev at ozlabs.org>
> Betreff: killing use of ppc_md.init
> ppc_md.init only exists on ppc32 and seems like its pretty useless
> today. The users seem to fall into two classes:
>
> 1. called to do of_platform_bus_probe() - most platforms use
> machine_device_initcall() for this
> 2. some platform init code which seems like it could move into
> setup_arch().
>
> The second one seems to only be on amigaone and chrp. Anyone know if
> there is any harm in moving the amigaone_init() into
> amigaone_setup_arch() and similarly on chrp chrp_init2() into
> chrp_setup_arch().
I guess converting amigaone_init() to a machine_device_initcall() is the
easiest approach. I'll send a patch soon.
Gerhard
--
GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss
für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
More information about the Linuxppc-dev
mailing list