]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/x86/kernel/ptrace.c: quiet sparse noise
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 16 Nov 2011 23:41:03 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 Nov 2011 03:37:14 +0000 (14:37 +1100)
commit9bffdfbd2fd7efc24f685fa74d46caef44a3f988
tree441a5735b7719c4338b44c5f357d32c7d6e63979
parentdd4ee84b420068f74a642ae9a76610f608830950
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