[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>
This commit is contained in:
Tony Luck
2006-03-31 10:28:29 -08:00
parent f19180056e
commit 2ab9391dea
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -131,7 +131,7 @@ typedef u64 pal_cache_line_state_t;
#define PAL_CACHE_LINE_STATE_MODIFIED 3 /* Modified */
typedef struct pal_freq_ratio {
u64 den : 32, num : 32; /* numerator & denominator */
u32 den, num; /* numerator & denominator */
} itc_ratio, proc_ratio;
typedef union pal_cache_config_info_1_s {
@@ -152,10 +152,10 @@ typedef union pal_cache_config_info_1_s {
typedef union pal_cache_config_info_2_s {
struct {
u64 cache_size : 32, /*cache size in bytes*/
u32 cache_size; /*cache size in bytes*/
alias_boundary : 8, /* 39-32 aliased addr
u32 alias_boundary : 8, /* 39-32 aliased addr
* separation for max
* performance.
*/