diff options
Diffstat (limited to 'include/asm-mips/sn/klconfig.h')
-rw-r--r-- | include/asm-mips/sn/klconfig.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-mips/sn/klconfig.h b/include/asm-mips/sn/klconfig.h index b63cd0655b3d..82aeb9e322db 100644 --- a/include/asm-mips/sn/klconfig.h +++ b/include/asm-mips/sn/klconfig.h | |||
@@ -61,6 +61,8 @@ | |||
61 | #endif /* CONFIG_SGI_IP35 */ | 61 | #endif /* CONFIG_SGI_IP35 */ |
62 | #endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */ | 62 | #endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */ |
63 | 63 | ||
64 | typedef u64 nic_t; | ||
65 | |||
64 | #define KLCFGINFO_MAGIC 0xbeedbabe | 66 | #define KLCFGINFO_MAGIC 0xbeedbabe |
65 | 67 | ||
66 | typedef s32 klconf_off_t; | 68 | typedef s32 klconf_off_t; |
@@ -176,7 +178,7 @@ typedef struct kl_config_hdr { | |||
176 | /* --- New Macros for the changed kl_config_hdr_t structure --- */ | 178 | /* --- New Macros for the changed kl_config_hdr_t structure --- */ |
177 | 179 | ||
178 | #define PTR_CH_MALLOC_HDR(_k) ((klc_malloc_hdr_t *)\ | 180 | #define PTR_CH_MALLOC_HDR(_k) ((klc_malloc_hdr_t *)\ |
179 | (unsigned long)_k + (_k->ch_malloc_hdr_off))) | 181 | ((unsigned long)_k + (_k->ch_malloc_hdr_off))) |
180 | 182 | ||
181 | #define KL_CONFIG_CH_MALLOC_HDR(_n) PTR_CH_MALLOC_HDR(KL_CONFIG_HDR(_n)) | 183 | #define KL_CONFIG_CH_MALLOC_HDR(_n) PTR_CH_MALLOC_HDR(KL_CONFIG_HDR(_n)) |
182 | 184 | ||