aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/setup_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/setup_32.c')
-rw-r--r--arch/sparc/kernel/setup_32.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sparc/kernel/setup_32.c b/arch/sparc/kernel/setup_32.c
index c052313f4dc..68dd63dea36 100644
--- a/arch/sparc/kernel/setup_32.c
+++ b/arch/sparc/kernel/setup_32.c
@@ -32,6 +32,7 @@
32#include <linux/cpu.h> 32#include <linux/cpu.h>
33#include <linux/kdebug.h> 33#include <linux/kdebug.h>
34#include <linux/export.h> 34#include <linux/export.h>
35#include <linux/start_kernel.h>
35 36
36#include <asm/io.h> 37#include <asm/io.h>
37#include <asm/processor.h> 38#include <asm/processor.h>
@@ -244,6 +245,15 @@ struct tt_entry *sparc_ttable;
244 245
245struct pt_regs fake_swapper_regs; 246struct pt_regs fake_swapper_regs;
246 247
248/* Called from head_32.S - before we have setup anything
249 * in the kernel. Be very careful with what you do here.
250 */
251void __init sparc32_start_kernel(struct linux_romvec *rp)
252{
253 prom_init(rp);
254 start_kernel();
255}
256
247void __init setup_arch(char **cmdline_p) 257void __init setup_arch(char **cmdline_p)
248{ 258{
249 int i; 259 int i;