diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-01-06 14:41:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:21 -0800 |
commit | 49ad2fd76c97133fb396edc24ded7fe26093a578 (patch) | |
tree | 59cf1df91ff982f16a17d56a4a76f159920c3904 /kernel/module.c | |
parent | e8386a0cb22f4a2d439384212c494ad0bda848fe (diff) | |
download | linux-49ad2fd76c97133fb396edc24ded7fe26093a578.tar.gz linux-49ad2fd76c97133fb396edc24ded7fe26093a578.tar.bz2 linux-49ad2fd76c97133fb396edc24ded7fe26093a578.zip |
kprobes: remove called_from argument
Remove called_from argument from kprobes which had been used for
preventing self-refering of kernel module. However, since we don't keep
module's refcount after registering kprobe any more, there is no reason to
check that.
This patch also simplifies registering/unregistering functions because we
don't need to use __builtin_return_address(0) which was passed to
called_from.
[ananth@in.ibm.com: build fix]
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions