From: Martin Bligh Date: Fri, 20 Oct 2006 21:30:26 +0000 (-0700) Subject: ACPI: avoid gcc warnings in ACPI mutex debug code X-Git-Tag: v2.6.20-rc2~6^2~9^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=965a3d447276491b7ed053b25679c062beb04194;p=pandora-kernel.git ACPI: avoid gcc warnings in ACPI mutex debug code 32bit vs 64 bit issues. sizeof(sizeof) and sizeof(pointer) is variable, but we're trying to print it as unsigned int or u32. Casts to unsigned long are used because type acpi_thread_id can be any one of typedef u64 acpi_native_uint; typedef u32 acpi_native_uint; typedef u16 acpi_native_uint; #define acpi_thread_id struct task_struct * Signed-off-by: Martin J. Bligh Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed