x86: acpi: Use an API to get the ACPI RSDP table address
authorBin Meng <bmeng.cn@gmail.com>
Tue, 30 Jan 2018 13:01:16 +0000 (05:01 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 30 Jan 2018 14:34:37 +0000 (22:34 +0800)
commit45410da714a1857c9e06573159877cff98fa4129
tree01a80bf01ef149f543a71a0c1384e5b95aee5ea3
parent3469bf4274540d1491d58e878a9edc0bdcba17ac
x86: acpi: Use an API to get the ACPI RSDP table address

At present the acpi_rsdp_addr variable is directly referenced in
setup_zimage(). This changes to use an API for better encapsulation
and extension.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c
arch/x86/lib/acpi_table.h [deleted file]
arch/x86/lib/zimage.c