]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ACPICA: Update ACPI example code to make it an actual working program.
authorBob Moore <robert.moore@intel.com>
Wed, 8 Jan 2014 05:44:45 +0000 (13:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jan 2014 14:31:38 +0000 (15:31 +0100)
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>
include/acpi/platform/acenv.h

index 974d3ef7c1413d42be45b974487ca062e2cfdcc4..9c903138179201c6b38ef7d0e99aefceb30b2658 100644 (file)
 #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