diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-03-23 21:41:39 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-04 21:53:34 -0400 |
commit | ca4fc02714f046cbdc8c0ee4af6733b6231e57dc (patch) | |
tree | d515dea781534ae634d525e2ba71959f8e7e9162 | |
parent | 78542058f522076c888822735d8fc9bd93cfd586 (diff) |
ACPICA: Tables: Fix wrong MLC condition for dynamic table loading
ACPICA commit 5798cd6171ea38bcf4594d0ccc78870784776ba5
The patch corrects wrong condition before group MLC is disabled.
Link: https://github.com/acpica/acpica/commit/5798cd61
Link: https://bugs.acpica.org/show_bug.cgi?id=1262
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>
-rw-r--r-- | drivers/acpi/acpica/exconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/exconfig.c b/drivers/acpi/acpica/exconfig.c index f74161301037..a1d177d58254 100644 --- a/drivers/acpi/acpica/exconfig.c +++ b/drivers/acpi/acpica/exconfig.c | |||
@@ -118,7 +118,9 @@ acpi_ex_add_table(u32 table_index, | |||
118 | /* Execute any module-level code that was found in the table */ | 118 | /* Execute any module-level code that was found in the table */ |
119 | 119 | ||
120 | acpi_ex_exit_interpreter(); | 120 | acpi_ex_exit_interpreter(); |
121 | acpi_ns_exec_module_code_list(); | 121 | if (acpi_gbl_group_module_level_code) { |
122 | acpi_ns_exec_module_code_list(); | ||
123 | } | ||
122 | acpi_ex_enter_interpreter(); | 124 | acpi_ex_enter_interpreter(); |
123 | 125 | ||
124 | /* | 126 | /* |