Skip to contentSkip to conversation

ia64 kprobes build fix

PATCH New Rusty Lynch 1 participant 1 message Jun 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64 kprobes build fix

The following patch fixes an ia64 build failure when kprobes is enabled as a result of the single-step out of line patch that expects each architecture do define MAX_INSN_SIZE.

 include/asm-ia64/kprobes.h |    1 +
 1 files changed, 1 insertion(+)
include/asm-ia64/kprobes.h +1 -0
Index: linux-2.6.12-mm2/include/asm-ia64/kprobes.h
===================================================================
@@ -28,6 +28,7 @@
 #include <linux/ptrace.h>
 #include <asm/break.h>
 
+#define MAX_INSN_SIZE   16
 #define BREAK_INST	(long)(__IA64_BREAK_KPROBE << 6)
 
 typedef union cmp_inst {