diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-06-23 21:32:32 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 21:28:22 -0400 |
commit | ae0dc73625f9b0e636ccd130e394c9b654a062fb (patch) | |
tree | 1471cae752e3db5c2541771ec34ae8578e6984f5 /arch/powerpc/Kconfig.debug | |
parent | 411781a290b0d0a31fd73826b3ee110f1e3cc3b6 (diff) |
powerpc: Add tests of the code patching routines
Add tests of the existing code patching routines, as well as the new
routines added in the last commit. The self-tests are run late in boot
when CONFIG_CODE_PATCHING_SELFTEST=y, which depends on DEBUG_KERNEL=y.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index a7d24e692bab..dc5893903363 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -57,6 +57,11 @@ config KGDB | |||
57 | debugger. See <http://kgdb.sourceforge.net/> for more information. | 57 | debugger. See <http://kgdb.sourceforge.net/> for more information. |
58 | Unless you are intending to debug the kernel, say N here. | 58 | Unless you are intending to debug the kernel, say N here. |
59 | 59 | ||
60 | config CODE_PATCHING_SELFTEST | ||
61 | bool "Run self-tests of the code-patching code." | ||
62 | depends on DEBUG_KERNEL | ||
63 | default n | ||
64 | |||
60 | choice | 65 | choice |
61 | prompt "Serial Port" | 66 | prompt "Serial Port" |
62 | depends on KGDB | 67 | depends on KGDB |