ACPI / table: Add new function to get table entries
authorAshwin Chaugule <ashwin.chaugule@linaro.org>
Wed, 26 Nov 2014 14:01:13 +0000 (22:01 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Nov 2014 01:06:17 +0000 (02:06 +0100)
commitf08bb472bff3c0397fb7d6f47bc5cec41dad76e3
treed1e3c7a64a591f9f1c6fa14c38b2d0b595583654
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9
ACPI / table: Add new function to get table entries

The acpi_table_parse() function has a callback that
passes a pointer to a table_header. Add a new function
which takes this pointer and parses its entries. This
eliminates the need to re-traverse all the tables for
each call. e.g. as in acpi_table_parse_madt() which is
normally called after acpi_table_parse().

Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/tables.c
include/linux/acpi.h
This page took 0.02739 seconds and 5 git commands to generate.