]> 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>
Wed, 23 Nov 2011 03:04:34 +0000 (14:04 +1100)
commit8591be53b33d4cfa9fe02ea1b72e0f99d1ee7eac
tree247e3c0983db87db99dbe8c954175c921f114123
parentfdcd13d4c806a792ba9ea0d1c1492c9e7d9e9d14
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