[patch -mm] s390: kprobes compile fix

Heiko Carstens
2006-07-14T08:41:37Z

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Add missing flush_insn_slot define to let kprobes compile on s390.

Cc: bibo,mao <bibo.mao@intel.com>
Cc: Michael Grundy <grundym@us.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---

ia64-kprobe-invalidate-icache-of-jump-buffer.patch breaks kprobes on s390
which comes with git-s390.patch.

include/asm-s390/kprobes.h | 3 +++
1 files changed, 3 insertions(+)

diff -purN a/include/asm-s390/kprobes.h b/include/asm-s390/kprobes.h
--- a/include/asm-s390/kprobes.h 2006-07-14 10:33:40.000000000 +0200
+++ b/include/asm-s390/kprobes.h 2006-07-14 10:28:48.000000000 +0200
@@ -96,6 +96,9 @@ void arch_remove_kprobe(struct kprobe *p
void kretprobe_trampoline(void);
int is_prohibited_opcode(kprobe_opcode_t *instruction);
void get_instruction_type(struct arch_specific_insn *ainsn);
+
+#define flush_insn_slot(p) do { } while (0)
+
#endif /* _ASM_S390_KPROBES_H */

#ifdef CONFIG_KPROBES