sched, block: Unify cache detection
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 26 Jan 2012 11:44:34 +0000 (12:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jan 2012 12:28:48 +0000 (13:28 +0100)
The block layer has some code trying to determine if two CPUs share a
cache, the scheduler has a similar function. Expose the function used
by the scheduler and make the block layer use it, thereby removing the
block layers usage of CONFIG_SCHED* and topology bits.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Jens Axboe <axboe@kernel.dk>
Link: http://lkml.kernel.org/r/1327579450.2446.95.camel@twins

No differences found