Skip to content

Commit

Permalink
ACPICA: Update ACPI example code to make it an actual working program.
Browse files Browse the repository at this point in the history
Previously, the example code (tools/examples) showed the ACPICA
init code, but was not an actual working program. Added ACPI tables
to make it actually function.

Linux kernel behaviour is not affected as the change only applies
to the ACPICA userspace utilities which are not shipped in the
kernel currently.

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>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Jan 8, 2014
1 parent 1a2c478 commit a2c8633
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions include/acpi/platform/acenv.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,14 @@
#endif

/*
* acpi_bin/acpi_dump/acpi_src/acpi_xtract configuration. All single
* acpi_bin/acpi_dump/acpi_src/acpi_xtract/Example configuration. All single
* threaded, with no debug output.
*/
#if (defined ACPI_BIN_APP) || \
(defined ACPI_DUMP_APP) || \
(defined ACPI_SRC_APP) || \
(defined ACPI_XTRACT_APP)
#if (defined ACPI_BIN_APP) || \
(defined ACPI_DUMP_APP) || \
(defined ACPI_SRC_APP) || \
(defined ACPI_XTRACT_APP) || \
(defined ACPI_EXAMPLE_APP)
#define ACPI_APPLICATION
#define ACPI_SINGLE_THREADED
#endif
Expand Down

0 comments on commit a2c8633

Please sign in to comment.