]> git.baikalelectronics.ru Git - kernel.git/commit
x86: add debug of invalid per_cpu map accesses
authortravis@sgi.com <travis@sgi.com>
Wed, 30 Jan 2008 12:33:22 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:22 +0000 (13:33 +0100)
commit736e0ed248c651e5b9f43084fc04354f6f43e061
treebadef899e3e3376c1af68b942b7f6c8ff9a36df5
parent7171b6ae986aa48e9e13782d10e9b9497685b935
x86: add debug of invalid per_cpu map accesses

Provide a means to trap usages of per_cpu map variables before
they are setup.  Define CONFIG_DEBUG_PER_CPU_MAPS to activate.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/Kconfig.debug
arch/x86/mm/numa_64.c
include/asm-x86/topology.h