ACPICA: Copy dynamically loaded tables to local buffer
authorDennis Noordsij <dennis.noordsij@helsinki.fi>
Fri, 15 Aug 2008 01:37:58 +0000 (09:37 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 03:14:34 +0000 (23:14 -0400)
commitf0e0da8a6cca44396c7a711e308d58084e881617
tree015422fb82f6a86ac06f328ead51d6bcd6ca1d12
parent3fa8749e584b55f1180411ab1b51117190bac1e5
ACPICA: Copy dynamically loaded tables to local buffer

Previously, dynamically loaded tables were simply mapped, but on some machines
this memory is corrupted after suspend. Now copy the table to a local buffer.
For OpRegion case, added checksum verify. Use the table length from the table header,
not the region length. For Buffer case, use the table length also.

http://bugzilla.kernel.org/show_bug.cgi?id=10734

Signed-off-by: Dennis Noordsij <dennis.noordsij@helsinki.fi>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/executer/exconfig.c