diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 05:43:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 05:43:56 -0700 |
commit | d630ba565f3d806d64df4415d4a8457b4ab23db6 (patch) | |
tree | e17a7699cc82b602b32ed27ce032a4a2fcc580f3 /arch/x86/include/asm/uv/uv_bau.h | |
parent | 5fd862f1db941c302a872ed7e67eab593a6a931a (diff) | |
parent | 6a469e4665bc158599de55d64388861d0a9f10f4 (diff) | |
download | linux-d630ba565f3d806d64df4415d4a8457b4ab23db6.tar.bz2 |
Merge branch 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86: uv2: Workaround for UV2 Hub bug (system global address format)
Diffstat (limited to 'arch/x86/include/asm/uv/uv_bau.h')
-rw-r--r-- | arch/x86/include/asm/uv/uv_bau.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86/include/asm/uv/uv_bau.h index c568ccca6e0e..8e862aaf0d90 100644 --- a/arch/x86/include/asm/uv/uv_bau.h +++ b/arch/x86/include/asm/uv/uv_bau.h @@ -55,6 +55,7 @@ #define UV_BAU_TUNABLES_DIR "sgi_uv" #define UV_BAU_TUNABLES_FILE "bau_tunables" #define WHITESPACE " \t\n" +#define uv_mmask ((1UL << uv_hub_info->m_val) - 1) #define uv_physnodeaddr(x) ((__pa((unsigned long)(x)) & uv_mmask)) #define cpubit_isset(cpu, bau_local_cpumask) \ test_bit((cpu), (bau_local_cpumask).bits) |