Commit f0ed5b9a28536b8be2f578a9450cfa42ab31ccf8
Exists in
master
and in
6 other branches
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86, atomic: atomic64_read() take a const pointer x86, UV: Update Boot messages for SGI UV2 platform
Showing 2 changed files Side-by-side Diff
arch/x86/include/asm/atomic64_32.h
arch/x86/kernel/apic/x2apic_uv_x.c
... | ... | @@ -769,7 +769,12 @@ |
769 | 769 | for(i = 0; i < UVH_NODE_PRESENT_TABLE_DEPTH; i++) |
770 | 770 | uv_possible_blades += |
771 | 771 | hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8)); |
772 | - printk(KERN_DEBUG "UV: Found %d blades\n", uv_num_possible_blades()); | |
772 | + | |
773 | + /* uv_num_possible_blades() is really the hub count */ | |
774 | + printk(KERN_INFO "UV: Found %d blades, %d hubs\n", | |
775 | + is_uv1_hub() ? uv_num_possible_blades() : | |
776 | + (uv_num_possible_blades() + 1) / 2, | |
777 | + uv_num_possible_blades()); | |
773 | 778 | |
774 | 779 | bytes = sizeof(struct uv_blade_info) * uv_num_possible_blades(); |
775 | 780 | uv_blade_info = kzalloc(bytes, GFP_KERNEL); |