diff options
author | Bob Moore <robert.moore@intel.com> | 2013-03-08 04:22:23 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-11 19:45:04 -0400 |
commit | fd1af7126fb62688cfcf4b563c73b2909ac30f74 (patch) | |
tree | f3f1437c28c49da167389868ab047fa43b2eefa1 /drivers/acpi/acpica/exutils.c | |
parent | c39660b232c5e4aee3cded5a02d28e71ca447fb8 (diff) |
ACPICA: Regression fix: reinstate safe exit macros
Removal caused a regression on at least FreeBSD. This fix
reinstates the macros.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exutils.c')
-rw-r--r-- | drivers/acpi/acpica/exutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exutils.c b/drivers/acpi/acpica/exutils.c index b205cbb4b50c..99dc7b287d55 100644 --- a/drivers/acpi/acpica/exutils.c +++ b/drivers/acpi/acpica/exutils.c | |||
@@ -340,7 +340,7 @@ static u32 acpi_ex_digits_needed(u64 value, u32 base) | |||
340 | /* u64 is unsigned, so we don't worry about a '-' prefix */ | 340 | /* u64 is unsigned, so we don't worry about a '-' prefix */ |
341 | 341 | ||
342 | if (value == 0) { | 342 | if (value == 0) { |
343 | return_VALUE(1); | 343 | return_UINT32(1); |
344 | } | 344 | } |
345 | 345 | ||
346 | current_value = value; | 346 | current_value = value; |
@@ -354,7 +354,7 @@ static u32 acpi_ex_digits_needed(u64 value, u32 base) | |||
354 | num_digits++; | 354 | num_digits++; |
355 | } | 355 | } |
356 | 356 | ||
357 | return_VALUE(num_digits); | 357 | return_UINT32(num_digits); |
358 | } | 358 | } |
359 | 359 | ||
360 | /******************************************************************************* | 360 | /******************************************************************************* |