[patch] ia64 kprobes build fix

From: Rusty Lynch
Date: Mon Jun 27 2005 - 13:03:29 EST


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.

Signed-off-by: Rusty Lynch <rusty.lynch@xxxxxxxxx>

include/asm-ia64/kprobes.h | 1 +
1 files changed, 1 insertion(+)

Index: linux-2.6.12-mm2/include/asm-ia64/kprobes.h
===================================================================
--- linux-2.6.12-mm2.orig/include/asm-ia64/kprobes.h
+++ 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 {
-
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/