From: Heiko Carstens Add missing flush_insn_slot define to let kprobes compile on s390. Cc: bibo,mao Cc: Michael Grundy Cc: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton --- include/asm-s390/kprobes.h | 3 +++ 1 file changed, 3 insertions(+) diff -puN include/asm-s390/kprobes.h~ia64-kprobe-invalidate-icache-of-jump-buffer-s390-fix include/asm-s390/kprobes.h --- a/include/asm-s390/kprobes.h~ia64-kprobe-invalidate-icache-of-jump-buffer-s390-fix +++ a/include/asm-s390/kprobes.h @@ -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 _