ACPICA: acpidump: Fix repetitive table dump in -n mode.
authorLv Zheng <lv.zheng@intel.com>
Tue, 27 May 2014 17:14:55 +0000 (01:14 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 May 2014 23:25:42 +0000 (01:25 +0200)
commit2947c1d5f72b77078aeb3df05d4298274234534d
treec22cdfc06f18da12a96be1a6e598576cfff1e35e
parenta238317ce8185519ed083e81e84260907fbbcf7f
ACPICA: acpidump: Fix repetitive table dump in -n mode.

In "-n" mode, reserved tables (RSDP/RSDT/XSDT/DSDT/FACS) are dumped
multiple times due a missing instance check in osl_get_bios_table().
This patch fixes this issue.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c