x86/tsc: Use topology functions
authorThomas Gleixner <tglx@linutronix.de>
Thu, 18 Feb 2016 19:53:43 +0000 (20:53 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 21 Feb 2016 20:11:22 +0000 (21:11 +0100)
commitc25323c07345a843a56a294047b130dfd9250fad
tree2035f870ded37d3908632c17299caa2dbef76648
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a
x86/tsc: Use topology functions

It's simpler to look at the topology mask than iterating over all online cpus
to find a cpu on the same package.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
arch/x86/kernel/tsc.c