diff options
Diffstat (limited to 'drivers/acpi/executer/exutils.c')
-rw-r--r-- | drivers/acpi/executer/exutils.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/acpi/executer/exutils.c b/drivers/acpi/executer/exutils.c index 1ee79d8c8f88..990c40e0c041 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 |
@@ -200,13 +200,11 @@ 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_REPORT_ERROR(("Could not acquire Global Lock, %s\n", acpi_format_exception(status))); |
204 | "Could not acquire Global Lock, %s\n", | ||
205 | acpi_format_exception(status))); | ||
206 | } | 204 | } |
207 | } | 205 | } |
208 | 206 | ||
209 | return_VALUE(locked); | 207 | return_UINT8(locked); |
210 | } | 208 | } |
211 | 209 | ||
212 | /******************************************************************************* | 210 | /******************************************************************************* |
@@ -268,7 +266,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 */ | 266 | /* acpi_integer is unsigned, so we don't worry about a '-' prefix */ |
269 | 267 | ||
270 | if (value == 0) { | 268 | if (value == 0) { |
271 | return_VALUE(1); | 269 | return_UINT32(1); |
272 | } | 270 | } |
273 | 271 | ||
274 | current_value = value; | 272 | current_value = value; |
@@ -282,7 +280,7 @@ static u32 acpi_ex_digits_needed(acpi_integer value, u32 base) | |||
282 | num_digits++; | 280 | num_digits++; |
283 | } | 281 | } |
284 | 282 | ||
285 | return_VALUE(num_digits); | 283 | return_UINT32(num_digits); |
286 | } | 284 | } |
287 | 285 | ||
288 | /******************************************************************************* | 286 | /******************************************************************************* |