diff options
Diffstat (limited to 'arch/x86/boot/compressed/misc.c')
-rw-r--r-- | arch/x86/boot/compressed/misc.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index c0d6c560df69..24e65a0f756d 100644 --- a/arch/x86/boot/compressed/misc.c +++ b/arch/x86/boot/compressed/misc.c | |||
@@ -351,9 +351,6 @@ asmlinkage __visible void *extract_kernel(void *rmode, memptr heap, | |||
351 | /* Clear flags intended for solely in-kernel use. */ | 351 | /* Clear flags intended for solely in-kernel use. */ |
352 | boot_params->hdr.loadflags &= ~KASLR_FLAG; | 352 | boot_params->hdr.loadflags &= ~KASLR_FLAG; |
353 | 353 | ||
354 | /* Save RSDP address for later use. */ | ||
355 | boot_params->acpi_rsdp_addr = get_rsdp_addr(); | ||
356 | |||
357 | sanitize_boot_params(boot_params); | 354 | sanitize_boot_params(boot_params); |
358 | 355 | ||
359 | if (boot_params->screen_info.orig_video_mode == 7) { | 356 | if (boot_params->screen_info.orig_video_mode == 7) { |
@@ -368,6 +365,14 @@ asmlinkage __visible void *extract_kernel(void *rmode, memptr heap, | |||
368 | cols = boot_params->screen_info.orig_video_cols; | 365 | cols = boot_params->screen_info.orig_video_cols; |
369 | 366 | ||
370 | console_init(); | 367 | console_init(); |
368 | |||
369 | /* | ||
370 | * Save RSDP address for later use. Have this after console_init() | ||
371 | * so that early debugging output from the RSDP parsing code can be | ||
372 | * collected. | ||
373 | */ | ||
374 | boot_params->acpi_rsdp_addr = get_rsdp_addr(); | ||
375 | |||
371 | debug_putstr("early console in extract_kernel\n"); | 376 | debug_putstr("early console in extract_kernel\n"); |
372 | 377 | ||
373 | free_mem_ptr = heap; /* Heap */ | 378 | free_mem_ptr = heap; /* Heap */ |