[PATCH] kprobes: function-return probes
[pandora-kernel.git] / include / asm-i386 / kprobes.h
index 4092f68..8b6d3a9 100644 (file)
@@ -39,6 +39,9 @@ typedef u8 kprobe_opcode_t;
        : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
 
 #define JPROBE_ENTRY(pentry)   (kprobe_opcode_t *)pentry
+#define ARCH_SUPPORTS_KRETPROBES
+
+void kretprobe_trampoline(void);
 
 /* Architecture specific copy of original instruction*/
 struct arch_specific_insn {