[patch -mm] s390: kprobes compile fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Heiko Carstens <[email protected]>

Add missing flush_insn_slot define to let kprobes compile on s390.

Cc: bibo,mao <[email protected]>
Cc: Michael Grundy <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
---

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux