summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/kernel.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-25 21:20:08 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-27 23:52:42 -0700
commit4efb55e6916628fde549b0ef1c2830593ccf19c4 (patch)
treec8d2ac063efb6b591f6f1dda08ecffe9db97efa6 /arch/sparc/kernel/kernel.h
parent30005efc9818d715cc72f15e962d06457c529783 (diff)
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/kernel.h')
-rw-r--r--arch/sparc/kernel/kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index a86372d34587..291bb5de9ce0 100644
--- a/arch/sparc/kernel/kernel.h
+++ b/arch/sparc/kernel/kernel.h
@@ -26,6 +26,9 @@ static inline unsigned long kimage_addr_to_ra(const char *p)
#endif
#ifdef CONFIG_SPARC32
+/* setup_32.c */
+void sparc32_start_kernel(struct linux_romvec *rp);
+
/* cpu.c */
extern void cpu_probe(void);