diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-11-21 12:17:27 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-21 13:47:03 +0100 |
commit | c38f671e390fe0d1605b402a28b01b1dbf8e10b3 (patch) | |
tree | a0e14fd695a832e2c2856625dc2f821ed30c9be2 /include/acpi/acconfig.h | |
parent | bf9b448ef8430548d0608a38ebddbf7f6ca14ed1 (diff) | |
download | linux-c38f671e390fe0d1605b402a28b01b1dbf8e10b3.tar.bz2 |
ACPICA: Tests: Add CHECKSUM_ABORT protection for test utilities.
This patch adds protection around ACPI_CHECKSUM_ABORT so that ACPI
user space test utilities can re-define it for their own purposes
(currently used by ASLTS build environment).
This patch doesn't affect Linux kernel behavior. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acconfig.h')
-rw-r--r-- | include/acpi/acconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h index d98c67001840..3ea214cff349 100644 --- a/include/acpi/acconfig.h +++ b/include/acpi/acconfig.h @@ -83,7 +83,9 @@ * Should the subsystem abort the loading of an ACPI table if the * table checksum is incorrect? */ +#ifndef ACPI_CHECKSUM_ABORT #define ACPI_CHECKSUM_ABORT FALSE +#endif /* * Generate a version of ACPICA that only supports "reduced hardware" |