aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2011-11-15 21:42:09 -0500
committerLen Brown <len.brown@intel.com>2012-01-17 03:36:27 -0500
commit2355e10f07b2c550c671f98b68aedf323c299aeb (patch)
tree53e5767d9d5f9f1884e2d2f89a58af57726a1a72 /drivers/acpi
parentec4636669bf9c6ff157121ab42709650a9e0cc2a (diff)
ACPI 5.0: Basic support for FADT version 5
Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpica/tbfadt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/tbfadt.c b/drivers/acpi/acpica/tbfadt.c
index 6f5588e62c0a..536fd2bc7a47 100644
--- a/drivers/acpi/acpica/tbfadt.c
+++ b/drivers/acpi/acpica/tbfadt.c
@@ -277,12 +277,12 @@ void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length)
277{ 277{
278 /* 278 /*
279 * Check if the FADT is larger than the largest table that we expect 279 * Check if the FADT is larger than the largest table that we expect
280 * (the ACPI 2.0/3.0 version). If so, truncate the table, and issue 280 * (the ACPI 5.0 version). If so, truncate the table, and issue
281 * a warning. 281 * a warning.
282 */ 282 */
283 if (length > sizeof(struct acpi_table_fadt)) { 283 if (length > sizeof(struct acpi_table_fadt)) {
284 ACPI_WARNING((AE_INFO, 284 ACPI_WARNING((AE_INFO,
285 "FADT (revision %u) is longer than ACPI 2.0 version, " 285 "FADT (revision %u) is longer than ACPI 5.0 version, "
286 "truncating length %u to %u", 286 "truncating length %u to %u",
287 table->revision, length, 287 table->revision, length,
288 (u32)sizeof(struct acpi_table_fadt))); 288 (u32)sizeof(struct acpi_table_fadt)));