https://github.com/torvalds/linux
Revision ec30c5f3a18722f8fcf8c83146a10b03ac4d9ff1 authored by Masami Hiramatsu on 28 July 2009, 23:47:23 UTC, committed by Linus Torvalds on 30 July 2009, 23:44:06 UTC
Use kernel_text_address() for checking probe address instead of
__kernel_text_address(), because __kernel_text_address() returns true
for init functions even after relaseing those functions.

That will hit a BUG() in text_poke().

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 90a09c9
History
Tip revision: ec30c5f3a18722f8fcf8c83146a10b03ac4d9ff1 authored by Masami Hiramatsu on 28 July 2009, 23:47:23 UTC
kprobes: Use kernel_text_address() for checking probe address
Tip revision: ec30c5f

back to top