]> err.no Git - linux-2.6/commitdiff
ACPICA: Cast acpi_thread_id to UINT32 for debug output only
authorBob Moore <robert.moore@intel.com>
Fri, 2 Feb 2007 16:48:18 +0000 (19:48 +0300)
committerLen Brown <len.brown@intel.com>
Sat, 3 Feb 2007 02:14:21 +0000 (21:14 -0500)
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utilities/utdebug.c

index 9e9054e155c17837549049dfe4a4dfd186402e4a..8ba8624b4b7bc82395af0a662ed6219255d5558c 100644 (file)
@@ -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;
@@ -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: ",