aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/platform
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2012-12-19 00:37:03 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-10 06:36:17 -0500
commit56324c1090ecf057c89a4d470a23a8ca61061b61 (patch)
tree9468c050848f7464802924b6b184d08cbd5ee3f2 /include/acpi/platform
parent0947c6dee3f6f334fb3772175152853bd90c86ea (diff)
ACPICA: Update codes under disabled build options.
This is a cosmetic patch only. Comparison of the resulting binary showed only line number differences. This patch does not affect the generation of the Linux binary. This patch decreases 170 lines of 20121018 divergence.diff. This patch updates ACPICA codes surrounded by some disabled build options so that the source code diff between Linux and ACPICA can be reduced. Some of these build options may never be used in the kernel, so they may be deleted entirely in future patches. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/platform')
-rw-r--r--include/acpi/platform/acenv.h45
1 files changed, 35 insertions, 10 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index 68a58a163fe1..13ac538f7892 100644
--- a/include/acpi/platform/acenv.h
+++ b/include/acpi/platform/acenv.h
@@ -65,32 +65,57 @@
65 * 65 *
66 *****************************************************************************/ 66 *****************************************************************************/
67 67
68/* Linkable ACPICA library */
69#ifdef ACPI_LIBRARY
70#define ACPI_USE_LOCAL_CACHE
71#endif
72
73/* iASL configuration */ 68/* iASL configuration */
74#ifdef ACPI_ASL_COMPILER 69#ifdef ACPI_ASL_COMPILER
75#define ACPI_DEBUG_OUTPUT
76#define ACPI_APPLICATION 70#define ACPI_APPLICATION
77#define ACPI_DISASSEMBLER 71#define ACPI_DISASSEMBLER
72#define ACPI_DEBUG_OUTPUT
78#define ACPI_CONSTANT_EVAL_ONLY 73#define ACPI_CONSTANT_EVAL_ONLY
79#define ACPI_LARGE_NAMESPACE_NODE 74#define ACPI_LARGE_NAMESPACE_NODE
80#define ACPI_DATA_TABLE_DISASSEMBLY 75#define ACPI_DATA_TABLE_DISASSEMBLY
76#define ACPI_SINGLE_THREADED
81#endif 77#endif
82 78
83/* acpi_exec configuration. Multithreaded with full AML debugger */ 79/* acpi_exec configuration. Multithreaded with full AML debugger */
84#ifdef ACPI_EXEC_APP 80#ifdef ACPI_EXEC_APP
85#undef DEBUGGER_THREADING
86#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
87#define ACPI_FULL_DEBUG
88#define ACPI_APPLICATION 81#define ACPI_APPLICATION
89#define ACPI_DEBUGGER 82#define ACPI_FULL_DEBUG
90#define ACPI_MUTEX_DEBUG 83#define ACPI_MUTEX_DEBUG
91#define ACPI_DBG_TRACK_ALLOCATIONS 84#define ACPI_DBG_TRACK_ALLOCATIONS
92#endif 85#endif
93 86
87/* acpi_names configuration. Single threaded with debugger output enabled. */
88
89#ifdef ACPI_NAMES_APP
90#define ACPI_DEBUGGER
91#define ACPI_APPLICATION
92#define ACPI_SINGLE_THREADED
93#endif
94
95/*
96 * acpi_bin/acpi_help/acpi_src configuration. All single threaded, with
97 * no debug output.
98 */
99#if (defined ACPI_BIN_APP) || \
100 (defined ACPI_SRC_APP) || \
101 (defined ACPI_XTRACT_APP)
102#define ACPI_APPLICATION
103#define ACPI_SINGLE_THREADED
104#endif
105
106#ifdef ACPI_HELP_APP
107#define ACPI_APPLICATION
108#define ACPI_SINGLE_THREADED
109#define ACPI_NO_ERROR_MESSAGES
110#endif
111
112/* Linkable ACPICA library */
113
114#ifdef ACPI_LIBRARY
115#define ACPI_USE_LOCAL_CACHE
116#define ACPI_FUTURE_USAGE
117#endif
118
94/* Common for all ACPICA applications */ 119/* Common for all ACPICA applications */
95#ifdef ACPI_APPLICATION 120#ifdef ACPI_APPLICATION
96#define ACPI_USE_SYSTEM_CLIBRARY 121#define ACPI_USE_SYSTEM_CLIBRARY