diff options
author | Bob Moore <robert.moore@intel.com> | 2008-04-10 11:06:40 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:27 -0400 |
commit | 1d18c05825c3f2b8933a7fc7f7528881e98deb04 (patch) | |
tree | 8b0a1ed08c4281451899d28785b936369b77b91d /drivers/acpi/utilities/utdebug.c | |
parent | 39adb11e56d8eef6169aeae38f65df26883ff49c (diff) |
ACPICA: Cosmetic changes only, no functional changes
Lint changes, fix compiler warnings, etc.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/utilities/utdebug.c')
-rw-r--r-- | drivers/acpi/utilities/utdebug.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/acpi/utilities/utdebug.c b/drivers/acpi/utilities/utdebug.c index a9148677f037..2d6a78fb01cf 100644 --- a/drivers/acpi/utilities/utdebug.c +++ b/drivers/acpi/utilities/utdebug.c | |||
@@ -68,9 +68,9 @@ static const char *acpi_ut_trim_function_name(const char *function_name); | |||
68 | 68 | ||
69 | void acpi_ut_init_stack_ptr_trace(void) | 69 | void acpi_ut_init_stack_ptr_trace(void) |
70 | { | 70 | { |
71 | u32 current_sp; | 71 | acpi_size current_sp; |
72 | 72 | ||
73 | acpi_gbl_entry_stack_pointer = ACPI_PTR_DIFF(¤t_sp, NULL); | 73 | acpi_gbl_entry_stack_pointer = ¤t_sp; |
74 | } | 74 | } |
75 | 75 | ||
76 | /******************************************************************************* | 76 | /******************************************************************************* |
@@ -89,10 +89,8 @@ void acpi_ut_track_stack_ptr(void) | |||
89 | { | 89 | { |
90 | acpi_size current_sp; | 90 | acpi_size current_sp; |
91 | 91 | ||
92 | current_sp = ACPI_PTR_DIFF(¤t_sp, NULL); | 92 | if (¤t_sp < acpi_gbl_lowest_stack_pointer) { |
93 | 93 | acpi_gbl_lowest_stack_pointer = ¤t_sp; | |
94 | if (current_sp < acpi_gbl_lowest_stack_pointer) { | ||
95 | acpi_gbl_lowest_stack_pointer = current_sp; | ||
96 | } | 94 | } |
97 | 95 | ||
98 | if (acpi_gbl_nesting_level > acpi_gbl_deepest_nesting) { | 96 | if (acpi_gbl_nesting_level > acpi_gbl_deepest_nesting) { |