ACPI: check acpi_disabled in acpi_table_parse() and acpi_table_parse_entries()
authorLen Brown <len.brown@intel.com>
Mon, 18 Jan 2016 13:53:41 +0000 (14:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Jan 2016 13:53:41 +0000 (14:53 +0100)
commit865d791263eb55c470979b2a22c4ff0568a920a3
treea3c356349416c7f623163a66997dbf02fe26a195
parent9fe8d627e0612529dd2733b9c2328815cfa90f3b
ACPI: check acpi_disabled in acpi_table_parse() and acpi_table_parse_entries()

Allow consumers of the acpi_table_parse()/acpi_table_parse_entries() API
to gracefully handle the acpi_disabled=1 case via return value
rather than checking the global flag themselves.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
[Linux commit e5b8fc6ac158f65598f58dba2c0d52ba3b412f52]
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
xen/drivers/acpi/tables.c