diff options
author | Bob Moore <robert.moore@intel.com> | 2012-12-31 01:07:18 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 12:36:22 +0100 |
commit | ef42e53f271b99fe9eb853df5661edeac8a277f6 (patch) | |
tree | accdeb45436b2278086375374b5d88b529834253 /drivers/acpi/acpica/acinterp.h | |
parent | ACPICA: Update ACPICA initialization messages. (diff) | |
download | linux-ef42e53f271b99fe9eb853df5661edeac8a277f6.tar.xz linux-ef42e53f271b99fe9eb853df5661edeac8a277f6.zip |
ACPICA: Interpreter: Add warning if 64-bit constant appears in 32-bit table.
Some ASL compilers allow 64-bit constants within a 32-bit table
(DSDT version == 1). When encountered, emit a warning that the
constant will be truncated to 32 bits. This is potentially a
serious problem in the ACPI table(s).
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acinterp.h')
-rw-r--r-- | drivers/acpi/acpica/acinterp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/acinterp.h b/drivers/acpi/acpica/acinterp.h index eb308635da72..16469b0e7b6a 100644 --- a/drivers/acpi/acpica/acinterp.h +++ b/drivers/acpi/acpica/acinterp.h @@ -458,7 +458,7 @@ void acpi_ex_reacquire_interpreter(void); void acpi_ex_relinquish_interpreter(void); -void acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc); +u8 acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc); void acpi_ex_acquire_global_lock(u32 rule); |