]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ftrace/x86: Use asm/kprobes.h instead of linux/kprobes.h
authorSteven Rostedt <srostedt@redhat.com>
Fri, 4 May 2012 13:26:16 +0000 (09:26 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 4 May 2012 13:28:29 +0000 (09:28 -0400)
commit59a094c994a138049b41a44bc29cff9407d51c5b
treed7a8c94b265cb3661f2502dabead334203e8ac92
parent4a6d70c9505fef1d8906b1d61db3de5d8ecf9454
ftrace/x86: Use asm/kprobes.h instead of linux/kprobes.h

If CONFIG_KPROBES is not set, then linux/kprobes.h will not include
asm/kprobes.h needed by x86/ftrace.c for the BREAKPOINT macro.

The x86/ftrace.c file should just include asm/kprobes.h as it does not
need the rest of kprobes.

Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/ftrace.c