kprobes/x86: Move skip_singlestep up
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 20 Sep 2012 12:43:54 +0000 (14:43 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 20 Sep 2012 12:48:16 +0000 (14:48 +0200)
commit50a011f6409e888d5f41343024d24885281f048c
tree53bee4c687336223bcba7916c73b3072bd60c8fa
parent1e6dd8adc78d4a153db253d051fd4ef6c49c9019
kprobes/x86: Move skip_singlestep up

I get this warning:

  arch/x86/kernel/kprobes.c:544:23: warning: ‘skip_singlestep’ declared ‘static’ but never defined

on tip/auto-latest.

Put the skip_singlestep function declaration up, in
KPROBES_CAN_USE_FTRACE and drop the superfluous forward
declaration.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1348145034-16603-1-git-send-email-bp@amd64.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/kprobes.c