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/lib | |
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/lib')
-rw-r--r-- | arch/powerpc/lib/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index fa48a4cc19a3..450433276699 100644 --- a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile | |||
@@ -19,9 +19,7 @@ obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ | |||
19 | checksum_wrappers_64.o hweight_64.o \ | 19 | checksum_wrappers_64.o hweight_64.o \ |
20 | copyuser_power7.o string_64.o copypage_power7.o \ | 20 | copyuser_power7.o string_64.o copypage_power7.o \ |
21 | memcpy_power7.o | 21 | memcpy_power7.o |
22 | obj-$(CONFIG_XMON) += sstep.o ldstfp.o | 22 | obj-$(CONFIG_PPC_EMULATE_SSTEP) += sstep.o ldstfp.o |
23 | obj-$(CONFIG_KPROBES) += sstep.o ldstfp.o | ||
24 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += sstep.o ldstfp.o | ||
25 | 23 | ||
26 | ifeq ($(CONFIG_PPC64),y) | 24 | ifeq ($(CONFIG_PPC64),y) |
27 | obj-$(CONFIG_SMP) += locks.o | 25 | obj-$(CONFIG_SMP) += locks.o |