]> 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, 5 Oct 2011 00:42:27 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:31:50 +0000 (17:31 +1100)
commitd8acb2641514fd2141c8e8c27fddef1c72d4f663
treeca58de9aa70c413f8eb8731c79a75fe7b27bcedc
parent7595f38fa66072a3368c5d9dc9e0b6d9bf485daa
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