[patch -mm] s390: kprobes compile fix
From: Heiko Carstens
Date: Fri Jul 14 2006 - 04:40:15 EST
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Add missing flush_insn_slot define to let kprobes compile on s390.
Cc: bibo,mao <bibo.mao@xxxxxxxxx>
Cc: Michael Grundy <grundym@xxxxxxxxxx>
Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/