]> git.baikalelectronics.ru Git - kernel.git/commit
lib: consolidate DEBUG_PER_CPU_MAPS
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 25 May 2011 00:13:32 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:53 +0000 (08:39 -0700)
commit0ba51e4599b7f27e38171644a16f0ccbbc275bed
tree0a00cefe04db51828a11d2fe28fc75e763bda5f1
parentc654549194a8b9d5dd906f1163be584657f83611
lib: consolidate DEBUG_PER_CPU_MAPS

DEBUG_PER_CPU_MAPS is used in lib/cpumask.c as well as in
inlcude/linux/cpumask.h and thus it has outgrown its use within x86 and
powerpc alone.  Any arch with SMP support may want to get some more
debugging, so make this option generic.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: <linux-arch@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/Kconfig.debug
arch/x86/Kconfig.debug
lib/Kconfig.debug