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

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

 



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