diff options
-rw-r--r-- | arch/x86/include/asm/uv/uv_hub.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/uv/uv_hub.h b/arch/x86/include/asm/uv/uv_hub.h index 811bfabc80b7..7a81d9db57b9 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h | |||
@@ -335,7 +335,8 @@ static inline unsigned long uv_read_global_mmr64(int pnode, | |||
335 | */ | 335 | */ |
336 | static inline unsigned long uv_global_gru_mmr_address(int pnode, unsigned long offset) | 336 | static inline unsigned long uv_global_gru_mmr_address(int pnode, unsigned long offset) |
337 | { | 337 | { |
338 | return UV_GLOBAL_GRU_MMR_BASE | offset | (pnode << uv_hub_info->m_val); | 338 | return UV_GLOBAL_GRU_MMR_BASE | offset | |
339 | ((unsigned long)pnode << uv_hub_info->m_val); | ||
339 | } | 340 | } |
340 | 341 | ||
341 | /* | 342 | /* |