Add missing jprobe macro for ia64
PATCH 1/1 Add missing jprobe macro for ia64
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 <[email protected]>
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;