]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ACPI: check acpi_disabled in acpi_table_parse() and acpi_table_parse_entries()
authorLen Brown <len.brown@intel.com>
Wed, 8 Jul 2009 03:22:58 +0000 (23:22 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 23:57:28 +0000 (19:57 -0400)
commite5b8fc6ac158f65598f58dba2c0d52ba3b412f52
tree1e4271c6f9ad1ba2f638cf73612b5b3229844a86
parentf4a2d5840e9f0e48d1a787b66e7346087a756029
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>
drivers/acpi/tables.c