[patch 1/1] Add missing jprobe macro for ia64

From: Rusty Lynch
Date: Mon May 23 2005 - 20:16:34 EST


The following minimal patch adds a missing macro that is expected
from each architecture supporting Jprobes, but was left out of
this mornings ia64 support patches. This patch applies to all the
previous kprobes patches that have already made it into your next
mm series.

--rusty

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

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

Index: linux-2.6.12-rc4/include/asm-ia64/kprobes.h
===================================================================
--- linux-2.6.12-rc4.orig/include/asm-ia64/kprobes.h
+++ linux-2.6.12-rc4/include/asm-ia64/kprobes.h
@@ -53,6 +53,8 @@ typedef struct _bundle {
#define LONG_BRANCH_OPCODE (0xC)
#define LONG_CALL_OPCODE (0xD)

+#define JPROBE_ENTRY(pentry) (kprobe_opcode_t *)pentry
+
typedef struct kprobe_opcode {
bundle_t bundle;
} kprobe_opcode_t;
-
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/