]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: tables: Simplify PPTT leaf node detection
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 1 Mar 2019 18:52:21 +0000 (12:52 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Mar 2019 11:14:57 +0000 (12:14 +0100)
commite89899693765a50527721d0f045b8e25bbce0b3d
tree405cd897a0d69083e6ca87b9a968238354602b9b
parentb882ec32a25bcb68853e400c40fd06fd5e5aebb2
ACPI: tables: Simplify PPTT leaf node detection

ACPI 6.3 bumps the PPTT table revision and adds a LEAF_NODE flag.

This allows us to avoid a second pass through the table to assure
that the node in question is a leaf.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pptt.c