ACPI / tables: table upgrade: refactor function definitions
authorAleksey Makarov <aleksey.makarov@linaro.org>
Mon, 20 Jun 2016 10:56:10 +0000 (13:56 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 21 Jun 2016 23:16:14 +0000 (01:16 +0200)
commitda3d3f98d28bc071a2d566aefc8c461bd564be35
tree3ce07af1409696129b7d4fabcb1e088442aae160
parentce0c1fcc7357ef0ec93c5a1cd1a759729d27599a
ACPI / tables: table upgrade: refactor function definitions

Refer initrd_start, initrd_end directly from drivers/acpi/tables.c.
This allows to use the table upgrade feature in architectures
other than x86.  Also this simplifies header files.

The patch renames acpi_table_initrd_init() to acpi_table_upgrade()
(what reflects the purpose of the function) and removes the unneeded
wraps early_acpi_table_init() and early_initrd_acpi_init().

Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
Acked-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/setup.c
drivers/acpi/tables.c
include/linux/acpi.h