[PATCH] AVR32: kprobes compile fix

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

 



From: Haavard Skinnemoen <[email protected]>

Add dummy flush_insn_slot define required by kprobes.

Signed-off-by: Haavard Skinnemoen <[email protected]>

---
 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 [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