diff options
author | Suzuki K. Poulose <suzuki@in.ibm.com> | 2013-01-06 19:26:57 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-01-28 19:35:06 -0500 |
commit | 5e249d4528528c9a77da051a89ec7f99d31b83eb (patch) | |
tree | f4b4d0e822c36180d88b8c4e19950df21c18d913 /arch/powerpc/Kconfig | |
parent | 5611fe48c545a22e62273428ed74c9bfae4a9406 (diff) |
uprobes/powerpc: Add dependency on single step emulation
Uprobes uses emulate_step in sstep.c, but we haven't explicitly specified
the dependency. On pseries HAVE_HW_BREAKPOINT protects us, but 44x has no
such luxury.
Consolidate other users that depend on sstep and create a new config option.
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 684fa6456797..4b27edbdb799 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -276,6 +276,10 @@ config PPC_ADV_DEBUG_DAC_RANGE | |||
276 | depends on PPC_ADV_DEBUG_REGS && 44x | 276 | depends on PPC_ADV_DEBUG_REGS && 44x |
277 | default y | 277 | default y |
278 | 278 | ||
279 | config PPC_EMULATE_SSTEP | ||
280 | bool | ||
281 | default y if KPROBES || UPROBES || XMON || HAVE_HW_BREAKPOINT | ||
282 | |||
279 | source "init/Kconfig" | 283 | source "init/Kconfig" |
280 | 284 | ||
281 | source "kernel/Kconfig.freezer" | 285 | source "kernel/Kconfig.freezer" |