diff options
Diffstat (limited to 'arch/arm/kernel/machine_kexec.c')
-rw-r--r-- | arch/arm/kernel/machine_kexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c index 863c66454f2b..db8f54a3451f 100644 --- a/arch/arm/kernel/machine_kexec.c +++ b/arch/arm/kernel/machine_kexec.c | |||
@@ -21,6 +21,7 @@ extern void setup_mm_for_reboot(char mode); | |||
21 | extern unsigned long kexec_start_address; | 21 | extern unsigned long kexec_start_address; |
22 | extern unsigned long kexec_indirection_page; | 22 | extern unsigned long kexec_indirection_page; |
23 | extern unsigned long kexec_mach_type; | 23 | extern unsigned long kexec_mach_type; |
24 | extern unsigned long kexec_boot_atags; | ||
24 | 25 | ||
25 | /* | 26 | /* |
26 | * Provide a dummy crash_notes definition while crash dump arrives to arm. | 27 | * Provide a dummy crash_notes definition while crash dump arrives to arm. |
@@ -62,6 +63,7 @@ void machine_kexec(struct kimage *image) | |||
62 | kexec_start_address = image->start; | 63 | kexec_start_address = image->start; |
63 | kexec_indirection_page = page_list; | 64 | kexec_indirection_page = page_list; |
64 | kexec_mach_type = machine_arch_type; | 65 | kexec_mach_type = machine_arch_type; |
66 | kexec_boot_atags = image->start - KEXEC_ARM_ZIMAGE_OFFSET + KEXEC_ARM_ATAGS_OFFSET; | ||
65 | 67 | ||
66 | /* copy our kernel relocation code to the control code page */ | 68 | /* copy our kernel relocation code to the control code page */ |
67 | memcpy(reboot_code_buffer, | 69 | memcpy(reboot_code_buffer, |