[PATCH 1/2] powerpc: move ppc_init() to common place

Scott Wood scottwood at freescale.com
Fri Oct 17 08:54:46 AEDT 2014


On Thu, 2014-10-16 at 19:18 +0800, Kevin Hao wrote:
> So they can be used by ppc64 board. Also remove the unneeded {} to
> make checkpatch happy.
> 
> Signed-off-by: Kevin Hao <haokexin at gmail.com>
> ---
>  arch/powerpc/include/asm/machdep.h |  2 +-
>  arch/powerpc/kernel/setup-common.c | 15 +++++++++++++++
>  arch/powerpc/kernel/setup_32.c     | 15 ---------------
>  3 files changed, 16 insertions(+), 16 deletions(-)

This is unnecessary -- why not just use machine_arch_initcall?

-Scott




More information about the Linuxppc-dev mailing list