Commit a2c8633b authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Update ACPI example code to make it an actual working program.

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: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 1a2c4783
...@@ -96,13 +96,14 @@ ...@@ -96,13 +96,14 @@
#endif #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. * threaded, with no debug output.
*/ */
#if (defined ACPI_BIN_APP) || \ #if (defined ACPI_BIN_APP) || \
(defined ACPI_DUMP_APP) || \ (defined ACPI_DUMP_APP) || \
(defined ACPI_SRC_APP) || \ (defined ACPI_SRC_APP) || \
(defined ACPI_XTRACT_APP) (defined ACPI_XTRACT_APP) || \
(defined ACPI_EXAMPLE_APP)
#define ACPI_APPLICATION #define ACPI_APPLICATION
#define ACPI_SINGLE_THREADED #define ACPI_SINGLE_THREADED
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment