diff options
| author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:21 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:27 -0500 |
| commit | ec3153fb0e96988dc7e378b3ab01e05131ba713b (patch) | |
| tree | 577f81822756ff73aaaca9b29e667732e2d93eda /drivers/acpi/namespace | |
| parent | b7a69806308600711589e4ca306d18dd029ef0cf (diff) | |
ACPICA: Use manifest constants for parse pass number
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/namespace')
| -rw-r--r-- | drivers/acpi/namespace/nsparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/namespace/nsparse.c b/drivers/acpi/namespace/nsparse.c index 2e224796d56f..a68de26c7d38 100644 --- a/drivers/acpi/namespace/nsparse.c +++ b/drivers/acpi/namespace/nsparse.c | |||
| @@ -160,10 +160,10 @@ acpi_ns_parse_table(acpi_native_uint table_index, | |||
| 160 | * each Parser Op subtree is deleted when it is finished. This saves | 160 | * each Parser Op subtree is deleted when it is finished. This saves |
| 161 | * a great deal of memory, and allows a small cache of parse objects | 161 | * a great deal of memory, and allows a small cache of parse objects |
| 162 | * to service the entire parse. The second pass of the parse then | 162 | * to service the entire parse. The second pass of the parse then |
| 163 | * performs another complete parse of the AML.. | 163 | * performs another complete parse of the AML. |
| 164 | */ | 164 | */ |
| 165 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 1\n")); | 165 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 1\n")); |
| 166 | status = acpi_ns_one_complete_parse(1, table_index); | 166 | status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS1, table_index); |
| 167 | if (ACPI_FAILURE(status)) { | 167 | if (ACPI_FAILURE(status)) { |
| 168 | return_ACPI_STATUS(status); | 168 | return_ACPI_STATUS(status); |
| 169 | } | 169 | } |
| @@ -178,7 +178,7 @@ acpi_ns_parse_table(acpi_native_uint table_index, | |||
| 178 | * parse objects are all cached. | 178 | * parse objects are all cached. |
| 179 | */ | 179 | */ |
| 180 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 2\n")); | 180 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 2\n")); |
| 181 | status = acpi_ns_one_complete_parse(2, table_index); | 181 | status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS2, table_index); |
| 182 | if (ACPI_FAILURE(status)) { | 182 | if (ACPI_FAILURE(status)) { |
| 183 | return_ACPI_STATUS(status); | 183 | return_ACPI_STATUS(status); |
| 184 | } | 184 | } |
