]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/x86/kernel/ptrace.c: quiet sparse noise
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 8 Nov 2011 00:19:54 +0000 (11:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 14 Nov 2011 02:58:22 +0000 (13:58 +1100)
commita1161e490a7390e94b50aa564656d7f507cc3428
treeebaee54d6b886ee55f01c216a28ec52612167b80
parent2dc453bb665641aee87d36ad4beff863afd6fc9b
arch/x86/kernel/ptrace.c: quiet sparse noise

ptrace_set_debugreg() is only used in this file and should be static.
This 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>
arch/x86/kernel/ptrace.c