summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/parser/psloop.c
diff options
context:
space:
mode:
authorValery Podrezov <valery.a.podrezov@intel.com>2007-02-02 19:48:21 +0300
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:27 -0500
commit9bc75cff4919f9d947982d805aed89582a20d04d (patch)
treed07b8eb59b0dd6384f8fc5694113759ef7b8668e /drivers/acpi/parser/psloop.c
parent4d0b4af958453afe871022e44abd57fac09baf67 (diff)
downloadblackbird-op-linux-9bc75cff4919f9d947982d805aed89582a20d04d.tar.gz
blackbird-op-linux-9bc75cff4919f9d947982d805aed89582a20d04d.zip
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,
return_ACPI_STATUS(status);
}
- if (!op) {
+ if (!*op) {
return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE);
}
OpenPOWER on IntegriCloud