]> err.no Git - linux-2.6/commit
[IA64] Avoid "u64 foo : 32;" for gcc3 vs. gcc4 compatibility
authorTony Luck <tony.luck@intel.com>
Fri, 31 Mar 2006 18:28:29 +0000 (10:28 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 31 Mar 2006 18:28:29 +0000 (10:28 -0800)
commit2ab9391dea6e36fed13443c29bf97d3be05f5289
tree8bc492fe3df71457caf8009bd081b9be0ec1074a
parentf19180056ea09ec6a5d32e741234451a1e6eba4d
[IA64] Avoid "u64 foo : 32;" for gcc3 vs. gcc4 compatibility

gcc3 thinks that a 32-bit field of a u64 type is itself a u64, so
should be printed with "%ld".  gcc4 thinks it needs just "%d".
Make both versions happy by avoiding this construct.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/palinfo.c
arch/ia64/kernel/time.c
include/asm-ia64/pal.h