]> git.karo-electronics.de Git - linux-beck.git/commit
arch/x86/kernel/ptrace.c: Quiet sparse noise
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 15 Nov 2011 22:48:58 +0000 (14:48 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 15:48:23 +0000 (16:48 +0100)
commit98b8b99ae1233a5408b136544e900a9cfb46e08f
tree079a8c1d31d050f538d14379bd49904f86a60d41
parentcced40229993bb63238299e48a22e4c8d1e13181
arch/x86/kernel/ptrace.c: Quiet sparse noise

ptrace_set_debugreg() is only used in this file and should be
static.  This also quiets the following sparse warning:

  warning: symbol 'ptrace_set_debugreg' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: hartleys@visionengravers.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ptrace.c