summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/psloop.c
diff options
context:
space:
mode:
authorErik Schmauss <erik.schmauss@intel.com>2018-12-13 23:30:27 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-12-14 00:40:51 +0300
commit178a0f6379698a4e23ad077c9a71dc84ee69d3a9 (patch)
tree6b5e2298d24db966c064fae5dfccd73e71669674 /drivers/acpi/acpica/psloop.c
parent2db90876700030bcf18bf045b9f1ca70fc2aa7d1 (diff)
downloadlinux-178a0f6379698a4e23ad077c9a71dc84ee69d3a9.tar.xz
ACPICA: Remove defines that use deprecated flag
This commit removes the use of ACPI_NO_METHOD_EXECUTE flag Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/psloop.c')
-rw-r--r--drivers/acpi/acpica/psloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/psloop.c b/drivers/acpi/acpica/psloop.c
index 60ece8e48667..e00d1af6fa80 100644
--- a/drivers/acpi/acpica/psloop.c
+++ b/drivers/acpi/acpica/psloop.c
@@ -428,7 +428,7 @@ acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state)
parser_state = &walk_state->parser_state;
walk_state->arg_types = 0;
-#if (!defined (ACPI_NO_METHOD_EXECUTION) && !defined (ACPI_CONSTANT_EVAL_ONLY))
+#ifndef ACPI_CONSTANT_EVAL_ONLY
if (walk_state->walk_type & ACPI_WALK_METHOD_RESTART) {