]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Only call ppc_md.setup_arch() if it is provided
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 10 Oct 2007 18:48:18 +0000 (04:48 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 11 Oct 2007 10:39:36 +0000 (20:39 +1000)
commit38db7e740ade7f07f6315e3a3b1172d7e456b793
tree578140e34e21dd720632387f29263d0de8610d99
parentdc9b43d0f706852fc4abce5bf28958db41524328
[POWERPC] Only call ppc_md.setup_arch() if it is provided

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@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
include/asm-powerpc/machdep.h