diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-28 11:00:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-28 11:00:55 -0800 |
commit | 30ff056c42c665b9ea535d8515890857ae382540 (patch) | |
tree | f9875bcf01aec2f264ed7b198fc29aa4e1eafd50 /arch/x86/include/asm/uv/uv_hub.h | |
parent | 6f5621cb160fada5bc52c2961ddc86e69e478912 (diff) | |
parent | 99659a929d653d0c9ce458091870544768add871 (diff) | |
download | kernel_goldelico_gta04-30ff056c42c665b9ea535d8515890857ae382540.zip kernel_goldelico_gta04-30ff056c42c665b9ea535d8515890857ae382540.tar.gz kernel_goldelico_gta04-30ff056c42c665b9ea535d8515890857ae382540.tar.bz2 |
Merge branch 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86, uv: Remove recursion in uv_heartbeat_enable()
x86, uv: uv_global_gru_mmr_address() macro fix
x86, uv: Add serial number parameter to uv_bios_get_sn_info()
Diffstat (limited to 'arch/x86/include/asm/uv/uv_hub.h')
-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 40be813..14cc74b 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h @@ -329,7 +329,8 @@ static inline unsigned long uv_read_global_mmr64(int pnode, unsigned long offset */ static inline unsigned long uv_global_gru_mmr_address(int pnode, unsigned long offset) { - return UV_GLOBAL_GRU_MMR_BASE | offset | (pnode << uv_hub_info->m_val); + return UV_GLOBAL_GRU_MMR_BASE | offset | + ((unsigned long)pnode << uv_hub_info->m_val); } static inline void uv_write_global_mmr8(int pnode, unsigned long offset, unsigned char val) |