diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-25 21:20:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-27 23:52:42 -0700 |
commit | 4efb55e6916628fde549b0ef1c2830593ccf19c4 (patch) | |
tree | c8d2ac063efb6b591f6f1dda08ecffe9db97efa6 /arch/sparc/kernel/head_32.S | |
parent | 30005efc9818d715cc72f15e962d06457c529783 (diff) | |
download | blackbird-op-linux-4efb55e6916628fde549b0ef1c2830593ccf19c4.tar.gz blackbird-op-linux-4efb55e6916628fde549b0ef1c2830593ccf19c4.zip |
sparc32: introduce sparc32_start_kernel called from head_32.S
This gives us a C hook before we call start_kernel()
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/sparc/kernel/head_32.S')
-rw-r--r-- | arch/sparc/kernel/head_32.S | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S index f22a729dfb3d..6c6b8c27c1b8 100644 --- a/arch/sparc/kernel/head_32.S +++ b/arch/sparc/kernel/head_32.S @@ -661,16 +661,10 @@ continue_boot: wr %g3, PSR_ET, %psr WRITE_PAUSE - /* First we call prom_init() to set up PROMLIB, then - * off to start_kernel(). - */ - + /* Call sparc32_start_kernel(struct linux_romvec *rp) */ sethi %hi(prom_vector_p), %g5 ld [%g5 + %lo(prom_vector_p)], %o0 - call prom_init - nop - - call start_kernel + call sparc32_start_kernel nop /* We should not get here. */ |