[PATCH] AVR32: kprobes compile fix

From: Haavard Skinnemoen
Date: Tue Aug 22 2006 - 08:34:53 EST


From: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

Add dummy flush_insn_slot define required by kprobes.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

---
include/asm-avr32/kprobes.h | 2 ++
1 file changed, 2 insertions(+)

Index: linux-2.6.18-rc4-mm2/include/asm-avr32/kprobes.h
===================================================================
--- linux-2.6.18-rc4-mm2.orig/include/asm-avr32/kprobes.h 2006-08-22 08:38:00.000000000 +0200
+++ linux-2.6.18-rc4-mm2/include/asm-avr32/kprobes.h 2006-08-22 08:38:50.000000000 +0200
@@ -29,4 +29,6 @@ struct arch_specific_insn {
extern int kprobe_exceptions_notify(struct notifier_block *self,
unsigned long val, void *data);

+#define flush_insn_slot(p) do { } while (0)
+
#endif /* __ASM_AVR32_KPROBES_H */
-
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/