x86/mm/mtrr: Slightly simplify print_mtrr_state()
authorJan Beulich <JBeulich@suse.com>
Fri, 6 Jul 2012 14:20:35 +0000 (15:20 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Jul 2012 08:38:15 +0000 (10:38 +0200)
commita7101d152665817bf7cafc47e7f5dcb1f54664fe
tree8f3adbfb986497700f140387365ce31eff89ada4
parent1ba9a294141b106b7247649a5c3372d8284eca80
x86/mm/mtrr: Slightly simplify print_mtrr_state()

high_width can be easily calculated in a single expression when
making use of __ffs64().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/4FF71053020000780008E1B5@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mtrr/generic.c