Skip to content

Commit

Permalink
ACPICA: Tests: Add CHECKSUM_ABORT protection for test utilities.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lv Zheng authored and Rafael J. Wysocki committed Nov 21, 2013
1 parent bf9b448 commit c38f671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/acpi/acconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c38f671

Please sign in to comment.