1
linux/drivers/acpi/utilities
Martin Bligh 965a3d4472 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 <mbligh@google.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2006-10-21 01:19:33 -04:00
..
Makefile [ACPI] ACPICA 20051102 2005-12-10 00:26:05 -05:00
utalloc.c ACPI: acpi_os_allocate() fixes 2006-07-10 02:37:22 -04:00
utcache.c ACPI: delete acpi_os_free(), use kfree() directly 2006-06-30 03:19:10 -04:00
utcopy.c ACPI: ACPICA 20060421 2006-06-14 02:30:55 -04:00
utdebug.c ACPI: avoid gcc warnings in ACPI mutex debug code 2006-10-21 01:19:33 -04:00
utdelete.c ACPI: ACPICA 20060707 2006-07-09 15:15:40 -04:00
uteval.c ACPI: ACPICA 20060526 2006-06-14 02:44:35 -04:00
utglobal.c ACPI: ACPICA 20060623 2006-06-28 03:11:38 -04:00
utinit.c ACPI: ACPICA 20060526 2006-06-14 02:44:35 -04:00
utmath.c ACPI: ACPICA 20060421 2006-06-14 02:30:55 -04:00
utmisc.c ACPI: ACPICA 20060707 2006-07-09 15:15:40 -04:00
utmutex.c ACPI: avoid gcc warnings in ACPI mutex debug code 2006-10-21 01:19:33 -04:00
utobject.c ACPI: ACPICA 20060421 2006-06-14 02:30:55 -04:00
utresrc.c ACPI: ACPICA 20060421 2006-06-14 02:30:55 -04:00
utstate.c ACPI: ACPICA 20060707 2006-07-09 15:15:40 -04:00
utxface.c ACPI: ACPICA 20060421 2006-06-14 02:30:55 -04:00