ACPICA 20050708 from Bob Moore <robert.moore@intel.com>
[deliverable/linux.git] / drivers / acpi / parser / psloop.c
index decb2e9a049d229d256cfea0ecd3068596a5fb4d..095672a1a722a483825b48e063467d7c77be25d7 100644 (file)
@@ -407,9 +407,14 @@ acpi_ps_parse_loop (
                                        INCREMENT_ARG_LIST (walk_state->arg_types);
                                }
 
+
                                /* Special processing for certain opcodes */
 
-                               if ((walk_state->pass_number <= ACPI_IMODE_LOAD_PASS1) &&
+       /* TBD (remove): Temporary mechanism to disable this code if needed */
+
+#ifndef ACPI_NO_MODULE_LEVEL_CODE
+
+                        if ((walk_state->pass_number <= ACPI_IMODE_LOAD_PASS1) &&
                                   ((walk_state->parse_flags & ACPI_PARSE_DISASSEMBLE) == 0)) {
                                        /*
                                         * We want to skip If/Else/While constructs during Pass1
@@ -434,7 +439,7 @@ acpi_ps_parse_loop (
                                                break;
                                        }
                                }
-
+#endif
                                switch (op->common.aml_opcode) {
                                case AML_METHOD_OP:
 
This page took 0.024148 seconds and 5 git commands to generate.