]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / tables: Move table override mechanisms to tables.c
authorLv Zheng <lv.zheng@intel.com>
Mon, 11 Apr 2016 02:13:18 +0000 (10:13 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Apr 2016 21:59:08 +0000 (23:59 +0200)
commit5ae74f2cc2f150c1a5cee54cabbd71dd0661285a
treec4cfbf622009554d44ca68a8c5efbaecd7dd4f69
parentc3b46c73264b03000d1e18b22f5caf63332547c9
ACPI / tables: Move table override mechanisms to tables.c

This patch moves acpi_os_table_override() and
acpi_os_physical_table_override() to tables.c.

Along with the mechanisms, acpi_initrd_initialize_tables() is also moved to
tables.c to form a static function. The following functions are renamed
according to this change:
 1. acpi_initrd_override() -> renamed to early_acpi_table_init(), which
    invokes acpi_table_initrd_init()
 2. acpi_os_physical_table_override() -> which invokes
    acpi_table_initrd_override()
 3. acpi_initialize_initrd_tables() -> renamed to acpi_table_initrd_scan()

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
drivers/acpi/internal.h
drivers/acpi/osl.c
drivers/acpi/tables.c
include/linux/acpi.h