ACPICA: Tables: Fix an issue that FACS initialization is performed twice
commitbc29d0be4238aafed6dafd70a252cddc213bf3e9
authorLv Zheng <lv.zheng@intel.com>
Wed, 1 Jul 2015 06:43:26 +0000 (1 14:43 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 4 Aug 2015 18:33:56 +0000 (4 14:33 -0400)
treee390d42b8962437fb87c8c1529909b4d3301471b
parent5217be2384b4886b25533d7e88d91108f1c61d46
ACPICA: Tables: Fix an issue that FACS initialization is performed twice

[ Upstream commit c04be18448355441a0c424362df65b6422e27bda ]

ACPICA commit 90f5332a15e9d9ba83831ca700b2b9f708274658

This patch adds a new FACS initialization flag for acpi_tb_initialize().
acpi_enable_subsystem() might be invoked several times in OS bootup process,
and we don't want FACS initialization to be invoked twice. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/90f5332a
Cc: All applicable <stable@vger.kernel.org> # All applicable
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/acpi/acpica/utxfinit.c
include/acpi/actypes.h