kmod/core: add "notrace" to ftrace handler

The ftrace handler needs the notrace annotation so that ftrace won't
trace it and get into a recursive loop.
This commit is contained in:
Josh Poimboeuf 2014-03-19 19:16:12 -05:00
parent 0688d1ed24
commit 2d7be5f48c

View File

@ -171,8 +171,8 @@ out:
}
void kpatch_ftrace_handler(unsigned long ip, unsigned long parent_ip,
struct ftrace_ops *op, struct pt_regs *regs)
void notrace kpatch_ftrace_handler(unsigned long ip, unsigned long parent_ip,
struct ftrace_ops *op, struct pt_regs *regs)
{
struct kpatch_func *f;