Skip to content

Commit

Permalink
ACPICA: Cast acpi_thread_id to UINT32 for debug output only
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed Feb 3, 2007
1 parent a72d475 commit 0654a6d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/acpi/utilities/utdebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@ acpi_ut_debug_print(u32 requested_debug_level,
if (thread_id != acpi_gbl_prev_thread_id) {
if (ACPI_LV_THREADS & acpi_dbg_level) {
acpi_os_printf
("\n**** Context Switch from TID %lX to TID %lX ****\n\n",
(unsigned long) acpi_gbl_prev_thread_id,
(unsigned long) thread_id);
("\n**** Context Switch from TID %X to TID %X ****\n\n",
(unsigned)acpi_gbl_prev_thread_id, (unsigned)thread_id);
}

acpi_gbl_prev_thread_id = thread_id;
Expand All @@ -195,7 +194,7 @@ acpi_ut_debug_print(u32 requested_debug_level,
acpi_os_printf("%8s-%04ld ", module_name, line_number);

if (ACPI_LV_THREADS & acpi_dbg_level) {
acpi_os_printf("[%04lX] ", thread_id);
acpi_os_printf("[%04X] ", (unsigned)thread_id);
}

acpi_os_printf("[%02ld] %-22.22s: ",
Expand Down

0 comments on commit 0654a6d

Please sign in to comment.