[patch] ia64 kprobes build fix

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

 



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 <[email protected]>

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