From: Peter Zijlstra Date: Thu, 26 Jan 2012 11:44:34 +0000 (+0100) Subject: sched, block: Unify cache detection X-Git-Tag: v3.4-rc1~191^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39be350127ec60a078edffe5b4915dafba4ba514;p=pandora-kernel.git sched, block: Unify cache detection 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 Acked-by: Jens Axboe Link: http://lkml.kernel.org/r/1327579450.2446.95.camel@twins --- Reading git-diff-tree failed