ACPICA: Fix wrong resource descriptor length for 64-bit build
authorBob Moore <robert.moore@intel.com>
Fri, 4 Jul 2008 02:56:13 +0000 (10:56 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Feb 2009 22:00:43 +0000 (14:00 -0800)
commit870346e874245447a5097bc1513acb45478c0a7a
treec98dfd8913ff43b82b7ef9090321df3af596f428
parentc17b1f3e00077f32e6369f750c491c00e08e23f5
ACPICA: Fix wrong resource descriptor length for 64-bit build

commit 9db4fcd99f7ef886ded97cd26a8642c70fbe34df upstream.

The "minimal" descriptors such as EndTag are calculated as 12
bytes long, but the actual length in the internal descriptor is
16 because of the round-up to 8 on 64-bit build.

http://www.acpica.org/bugzilla/show_bug.cgi?id=728

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>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/acpi/actypes.h