[PATCH 1/2] Only call ppc_md.setup_arch() if it is provided.
Kumar Gala
galak at kernel.crashing.org
Tue Oct 9 06:45:59 EST 2007
On Oct 8, 2007, at 3:37 PM, Grant Likely wrote:
> From: Grant Likely <grant.likely at secretlab.ca>
>
> This allows platforms which don't have anything to do at setup_arch
> time
> (like a bunch of the 4xx platforms) to eliminate an empty
> setup_arch hook.
>
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
> ---
Can you add a comment to include/asm-powerpc/machdep.h to state that
setup_arch() /* Optional, may be NULL */
We're a bit inconsistent here but would be good to make changes be
correct.
- k
More information about the Linuxppc-dev
mailing list