aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/parser/psloop.c
diff options
context:
space:
mode:
authorValery Podrezov <valery.a.podrezov@intel.com>2007-02-02 11:48:21 -0500
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:27 -0500
commit9bc75cff4919f9d947982d805aed89582a20d04d (patch)
treed07b8eb59b0dd6384f8fc5694113759ef7b8668e /drivers/acpi/parser/psloop.c
parent4d0b4af958453afe871022e44abd57fac09baf67 (diff)
ACPICA: Eliminate control method 2-pass parse/execute.
Completed an AML interpreter performance enhancement for control method execution. Previously a 2-pass parse/execution, control methods are now completely parsed and executed in single pass. This improves overall interpreter performance by ~25%, reduces code size, and reduces CPU stack use. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/parser/psloop.c')
-rw-r--r--drivers/acpi/parser/psloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/parser/psloop.c b/drivers/acpi/parser/psloop.c
index a83be5201856..881687ca3154 100644
--- a/drivers/acpi/parser/psloop.c
+++ b/drivers/acpi/parser/psloop.c
@@ -226,7 +226,7 @@ acpi_ps_build_named_op(struct acpi_walk_state *walk_state,
226 return_ACPI_STATUS(status); 226 return_ACPI_STATUS(status);
227 } 227 }
228 228
229 if (!op) { 229 if (!*op) {
230 return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE); 230 return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE);
231 } 231 }
232 232