ACPICA: Tables: Fix an issue that FACS initialization is performed twice
authorLv Zheng <lv.zheng@intel.com>
Wed, 1 Jul 2015 06:43:26 +0000 (14:43 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Aug 2015 14:33:18 +0000 (16:33 +0200)
commit2cae492e593bbd38d39b7883eac8754beb8a1955
treee418531835c8428e5233a9627f57867362de3beb
parent58e21827b4bb9c41dc0a932ae2b70682cd93292d
ACPICA: Tables: Fix an issue that FACS initialization is performed twice

commit c04be18448355441a0c424362df65b6422e27bda upstream.

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
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>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/acpi/acpica/utxface.c
include/acpi/actypes.h