diff options
author | Steven Whitehouse <steve@men-an-tol.chygwyn.com> | 2006-02-23 04:49:43 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-23 04:49:43 -0500 |
commit | d35462b4bb847b68321c55e95c926aa485aecce2 (patch) | |
tree | b08e18bf6e672633402871ee763102fdb5e63229 /drivers/acpi/executer/exutils.c | |
parent | 91ffd7db71e7451f89941a8f428b4daa2a7c1e38 (diff) | |
parent | 9e956c2dac9bec602ed1ba29181b45ba6d2b6448 (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/acpi/executer/exutils.c')
-rw-r--r-- | drivers/acpi/executer/exutils.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/acpi/executer/exutils.c b/drivers/acpi/executer/exutils.c index 1ee79d8c8f88..f73a61aeb7ec 100644 --- a/drivers/acpi/executer/exutils.c +++ b/drivers/acpi/executer/exutils.c | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2005, R. Byron Moore | 9 | * Copyright (C) 2000 - 2006, R. Byron Moore |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -91,7 +91,7 @@ acpi_status acpi_ex_enter_interpreter(void) | |||
91 | 91 | ||
92 | status = acpi_ut_acquire_mutex(ACPI_MTX_EXECUTE); | 92 | status = acpi_ut_acquire_mutex(ACPI_MTX_EXECUTE); |
93 | if (ACPI_FAILURE(status)) { | 93 | if (ACPI_FAILURE(status)) { |
94 | ACPI_REPORT_ERROR(("Could not acquire interpreter mutex\n")); | 94 | ACPI_ERROR((AE_INFO, "Could not acquire interpreter mutex")); |
95 | } | 95 | } |
96 | 96 | ||
97 | return_ACPI_STATUS(status); | 97 | return_ACPI_STATUS(status); |
@@ -127,7 +127,7 @@ void acpi_ex_exit_interpreter(void) | |||
127 | 127 | ||
128 | status = acpi_ut_release_mutex(ACPI_MTX_EXECUTE); | 128 | status = acpi_ut_release_mutex(ACPI_MTX_EXECUTE); |
129 | if (ACPI_FAILURE(status)) { | 129 | if (ACPI_FAILURE(status)) { |
130 | ACPI_REPORT_ERROR(("Could not release interpreter mutex\n")); | 130 | ACPI_ERROR((AE_INFO, "Could not release interpreter mutex")); |
131 | } | 131 | } |
132 | 132 | ||
133 | return_VOID; | 133 | return_VOID; |
@@ -200,13 +200,12 @@ u8 acpi_ex_acquire_global_lock(u32 field_flags) | |||
200 | if (ACPI_SUCCESS(status)) { | 200 | if (ACPI_SUCCESS(status)) { |
201 | locked = TRUE; | 201 | locked = TRUE; |
202 | } else { | 202 | } else { |
203 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 203 | ACPI_EXCEPTION((AE_INFO, status, |
204 | "Could not acquire Global Lock, %s\n", | 204 | "Could not acquire Global Lock")); |
205 | acpi_format_exception(status))); | ||
206 | } | 205 | } |
207 | } | 206 | } |
208 | 207 | ||
209 | return_VALUE(locked); | 208 | return_UINT8(locked); |
210 | } | 209 | } |
211 | 210 | ||
212 | /******************************************************************************* | 211 | /******************************************************************************* |
@@ -237,7 +236,8 @@ void acpi_ex_release_global_lock(u8 locked_by_me) | |||
237 | if (ACPI_FAILURE(status)) { | 236 | if (ACPI_FAILURE(status)) { |
238 | /* Report the error, but there isn't much else we can do */ | 237 | /* Report the error, but there isn't much else we can do */ |
239 | 238 | ||
240 | ACPI_REPORT_ERROR(("Could not release ACPI Global Lock, %s\n", acpi_format_exception(status))); | 239 | ACPI_EXCEPTION((AE_INFO, status, |
240 | "Could not release ACPI Global Lock")); | ||
241 | } | 241 | } |
242 | } | 242 | } |
243 | 243 | ||
@@ -268,7 +268,7 @@ static u32 acpi_ex_digits_needed(acpi_integer value, u32 base) | |||
268 | /* acpi_integer is unsigned, so we don't worry about a '-' prefix */ | 268 | /* acpi_integer is unsigned, so we don't worry about a '-' prefix */ |
269 | 269 | ||
270 | if (value == 0) { | 270 | if (value == 0) { |
271 | return_VALUE(1); | 271 | return_UINT32(1); |
272 | } | 272 | } |
273 | 273 | ||
274 | current_value = value; | 274 | current_value = value; |
@@ -282,7 +282,7 @@ static u32 acpi_ex_digits_needed(acpi_integer value, u32 base) | |||
282 | num_digits++; | 282 | num_digits++; |
283 | } | 283 | } |
284 | 284 | ||
285 | return_VALUE(num_digits); | 285 | return_UINT32(num_digits); |
286 | } | 286 | } |
287 | 287 | ||
288 | /******************************************************************************* | 288 | /******************************************************************************* |