]> git.karo-electronics.de Git - karo-tx-linux.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)
commit5e249d4528528c9a77da051a89ec7f99d31b83eb
treef4b4d0e822c36180d88b8c4e19950df21c18d913
parent5611fe48c545a22e62273428ed74c9bfae4a9406
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