]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / x86: Cleanup initrd related code
authorLv Zheng <lv.zheng@intel.com>
Mon, 11 Apr 2016 02:13:27 +0000 (10:13 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Apr 2016 21:59:09 +0000 (23:59 +0200)
commit7a8c777d2f2988e780c57bca88204e7e7c7be2c0
tree99f036a7d19bc0cd95a3064c340d507322dbfc47
parentc1bc2ec488d316679cc69ecd91601bf169738686
ACPI / x86: Cleanup initrd related code

In arch/x86/kernel/setup.c, the #ifdef kept for CONFIG_ACPI actually is
related to the accessibility of initrd_start/initrd_end, so the stub should
be provided from this source file and should only be dependent on
CONFIG_BLK_DEV_INITRD.

Note that when ACPI=n and BLK_DEV_INITRD=y, early_initrd_acpi_init() is
still a stub because of the stub prepared for early_acpi_table_init().

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/setup.c