]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/setup.c
Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux
[~andy/linux] / arch / x86 / kernel / setup.c
index ca45696f30fb8a01a4d6852388d08ab19d4bb778..23ddd558fbd52d1376576b200122448d94165708 100644 (file)
@@ -143,11 +143,7 @@ int default_check_phys_apicid_present(int phys_apicid)
 }
 #endif
 
-#ifndef CONFIG_DEBUG_BOOT_PARAMS
-struct boot_params __initdata boot_params;
-#else
 struct boot_params boot_params;
-#endif
 
 /*
  * Machine setup..
@@ -956,6 +952,10 @@ void __init setup_arch(char **cmdline_p)
 
        reserve_initrd();
 
+#if defined(CONFIG_ACPI) && defined(CONFIG_BLK_DEV_INITRD)
+       acpi_initrd_override((void *)initrd_start, initrd_end - initrd_start);
+#endif
+
        reserve_crashkernel();
 
        vsmp_init();