]> git.baikalelectronics.ru Git - kernel.git/commit
uprobes/powerpc: Add dependency on single step emulation
authorSuzuki K. Poulose <suzuki@in.ibm.com>
Mon, 7 Jan 2013 00:26:57 +0000 (00:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Jan 2013 00:35:06 +0000 (11:35 +1100)
commit2dd1e3806065dcb22221485248279daa6eeffe1c
treef4b4d0e822c36180d88b8c4e19950df21c18d913
parentf69286368026e02db52225495aeefc3f07e79774
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>
arch/powerpc/Kconfig
arch/powerpc/lib/Makefile