aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/pal.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2006-03-31 13:28:29 -0500
committerTony Luck <tony.luck@intel.com>2006-03-31 13:28:29 -0500
commit2ab9391dea6e36fed13443c29bf97d3be05f5289 (patch)
tree8bc492fe3df71457caf8009bd081b9be0ec1074a /include/asm-ia64/pal.h
parentf19180056ea09ec6a5d32e741234451a1e6eba4d (diff)
[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>
Diffstat (limited to 'include/asm-ia64/pal.h')
-rw-r--r--include/asm-ia64/pal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ia64/pal.h b/include/asm-ia64/pal.h
index 5d229c5953e9..37e52a2836b0 100644
--- a/include/asm-ia64/pal.h
+++ b/include/asm-ia64/pal.h
@@ -131,7 +131,7 @@ typedef u64 pal_cache_line_state_t;
131#define PAL_CACHE_LINE_STATE_MODIFIED 3 /* Modified */ 131#define PAL_CACHE_LINE_STATE_MODIFIED 3 /* Modified */
132 132
133typedef struct pal_freq_ratio { 133typedef struct pal_freq_ratio {
134 u64 den : 32, num : 32; /* numerator & denominator */ 134 u32 den, num; /* numerator & denominator */
135} itc_ratio, proc_ratio; 135} itc_ratio, proc_ratio;
136 136
137typedef union pal_cache_config_info_1_s { 137typedef union pal_cache_config_info_1_s {
@@ -152,10 +152,10 @@ typedef union pal_cache_config_info_1_s {
152 152
153typedef union pal_cache_config_info_2_s { 153typedef union pal_cache_config_info_2_s {
154 struct { 154 struct {
155 u64 cache_size : 32, /*cache size in bytes*/ 155 u32 cache_size; /*cache size in bytes*/
156 156
157 157
158 alias_boundary : 8, /* 39-32 aliased addr 158 u32 alias_boundary : 8, /* 39-32 aliased addr
159 * separation for max 159 * separation for max
160 * performance. 160 * performance.
161 */ 161 */