Commit:     81eae375eceba481ca4c605d42913871f093f6d5
Parent:     f9acc8c7b35a100f3a9e0e6977f7807b0169f9a5
Author:     Michael Ellerman <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 19 01:48:09 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Jul 19 10:04:44 2007 -0700

    jprobes: make struct jprobe.entry a void *
    Currently jprobe.entry is a kprobe_opcode_t *, but that's a lie.  On some
    platforms it doesn't point to an opcode at all, it points to a function
    It's really a pointer to something that the arch code can turn into a 
    entry point.  And that's what actually happens, none of the generic code 
    looks at jprobe.entry, it's only ever dereferenced by arch code.
    So just make it a void *.
    Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]>
    Cc: Prasanna S Panchamukhi <[EMAIL PROTECTED]>
    Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]>
    Cc: Anil S Keshavamurthy <[EMAIL PROTECTED]>
    Cc: David S. Miller <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/kprobes.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h
index 23adf60..f4e53b7 100644
--- a/include/linux/kprobes.h
+++ b/include/linux/kprobes.h
@@ -116,7 +116,7 @@ struct kprobe {
 struct jprobe {
        struct kprobe kp;
-       kprobe_opcode_t *entry; /* probe handling code to jump to */
+       void *entry;    /* probe handling code to jump to */
 DECLARE_PER_CPU(struct kprobe *, current_kprobe);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to