Messages in this thread | | | Date | Wed, 12 Nov 2008 10:36:33 -0500 | From | Masami Hiramatsu <> | Subject | Re: [PATCH 5/7] kprobes: Remove called_from argument |
| |
Hi Ananth,
Ananth N Mavinakayanahalli wrote: > > You also need the following to get this to compile, don't you?
Oops, Indeed. Thank you very much! Where I've lost this parts...?
> Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
> > Index: linux-2.6.28-rc4/kernel/kprobes.c > =================================================================== > --- linux-2.6.28-rc4.orig/kernel/kprobes.c 2008-11-12 11:13:30.000000000 +0530 > +++ linux-2.6.28-rc4/kernel/kprobes.c 2008-11-12 12:18:44.000000000 +0530 > @@ -666,8 +666,6 @@ > */ > probed_mod = __module_text_address((unsigned long) p->addr); > if (probed_mod) { > - struct module *calling_mod; > - calling_mod = __module_text_address(called_from); > /* > * We must hold a refcount of the probed module while updating > * its code to prohibit unexpected unloading.
-- Masami Hiramatsu
Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division
e-mail: mhiramat@redhat.com
| |