]> err.no Git - linux-2.6/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)
commitc49a4955ea504c82f6b690491639bba5b8c1dc47
treebadef899e3e3376c1af68b942b7f6c8ff9a36df5
parent602a54a8cab2759fceb20b3e0c2a27c4eac005df
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