diff options
Diffstat (limited to 'arch/powerpc/boot/main.c')
-rw-r--r-- | arch/powerpc/boot/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c index 33c73295acf3..e1df8feaf16d 100644 --- a/arch/powerpc/boot/main.c +++ b/arch/powerpc/boot/main.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include "ops.h" | 17 | #include "ops.h" |
18 | #include "gunzip_util.h" | 18 | #include "gunzip_util.h" |
19 | #include "flatdevtree.h" | 19 | #include "flatdevtree.h" |
20 | #include "reg.h" | ||
20 | 21 | ||
21 | extern char _start[]; | 22 | extern char _start[]; |
22 | extern char __bss_start[]; | 23 | extern char __bss_start[]; |
@@ -247,7 +248,7 @@ struct dt_ops dt_ops; | |||
247 | struct console_ops console_ops; | 248 | struct console_ops console_ops; |
248 | struct loader_info loader_info; | 249 | struct loader_info loader_info; |
249 | 250 | ||
250 | void start(void *sp) | 251 | void start(void) |
251 | { | 252 | { |
252 | struct addr_range vmlinux, initrd; | 253 | struct addr_range vmlinux, initrd; |
253 | kernel_entry_t kentry; | 254 | kernel_entry_t kentry; |
@@ -260,7 +261,7 @@ void start(void *sp) | |||
260 | platform_ops.fixups(); | 261 | platform_ops.fixups(); |
261 | 262 | ||
262 | printf("\n\rzImage starting: loaded at 0x%p (sp: 0x%p)\n\r", | 263 | printf("\n\rzImage starting: loaded at 0x%p (sp: 0x%p)\n\r", |
263 | _start, sp); | 264 | _start, get_sp()); |
264 | 265 | ||
265 | vmlinux = prep_kernel(); | 266 | vmlinux = prep_kernel(); |
266 | initrd = prep_initrd(vmlinux, loader_info.initrd_addr, | 267 | initrd = prep_initrd(vmlinux, loader_info.initrd_addr, |