Incoming to helium.harhan.org:/home/linuxppc/linuxppc_2_4_alt

benh at kernel.crashing.org benh at kernel.crashing.org
Tue Apr 9 03:58:06 EST 2002


>We shouldn't be #ifdef'ing externs, since it doesn't matter.  The
>pmac/prep/chrp ones were hidden just because the line above was, iirc.
>
>And the one downside to the GENERIC_PPC32 platform_init, is that we're
>back to adding:
>#ifdef CONFIG_x
> case _MACH_x:
>  x_init(...);
>  break;
>#endif
>
>Which I think Paul was happy to see die :)

No, in the version I'm implementing for 2.5, the ppc_md structure of
each board will be statically defined and contain the init function.
A global array will contain ppc_md pointers indexed by machine.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list