Myron Stowe 386e4a8358 ACPICA: Fix table entry truncation calculation
During early boot, ACPI RSDT/XSDT table entries are gathered into the
'initial_tables[]' array.  This array is currently statically defined (see
./drivers/acpi/tables.c).  When there are more table entries than can be
held in the 'initial_tables[]' array, the message "Truncating N table
entries!" is output.  As currently implemented, this message will always
erroneously calculate N as 0.

This patch fixes the calculation that determines how many table entries
will be missing (truncated).

This modification may be used under either the GPL or the BSD-style
license used for Intel ACPI CA code.

Signed-off-by: Myron Stowe <myron.stowe@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-02-07 00:51:23 -05:00
..
2008-11-11 21:14:49 -05:00
2008-11-11 21:17:26 -05:00
2009-01-16 14:32:19 -05:00
2008-12-30 21:50:01 -05:00
2009-01-09 03:37:48 -05:00
2009-01-09 03:36:32 -05:00
2008-10-23 00:11:07 -04:00
2009-01-09 03:30:47 -05:00
2009-01-09 03:30:47 -05:00