diff options
| author | 2009-01-30 15:44:53 -0700 | |
|---|---|---|
| committer | 2009-02-07 00:51:23 -0500 | |
| commit | 386e4a8358239f90275e1f93d5ad11cdc93c6453 (patch) | |
| tree | b6affdf41cc0ca99e5e61256f2372f240f6fd23f /fs/btrfs/async-thread.c | |
| parent | ACPI: Enable bit 11 in _PDC to advertise hw coord (diff) | |
| download | linux-dev-386e4a8358239f90275e1f93d5ad11cdc93c6453.tar.xz linux-dev-386e4a8358239f90275e1f93d5ad11cdc93c6453.zip | |
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>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
