]> git.baikalelectronics.ru Git - 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)
commit257fc1c0b445d71f61702cf12a060edd50a84f2c
tree1e4271c6f9ad1ba2f638cf73612b5b3229844a86
parent4086488dc9aa7d28a0d53c3d71e437ffbb1ee738
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