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>
This commit is contained in:
Sam Ravnborg 2012-05-25 21:20:08 +00:00 committed by David S. Miller
parent 30005efc98
commit 4efb55e691
3 changed files with 15 additions and 8 deletions

View file

@ -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);