summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/ptrace.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2008-07-24 06:28:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 19:47:24 +0200
commit99764fa4ceeecba8b9e0a8a5565b418a2e94f83b (patch)
treeaecf842728e5dfc80743662d87c089b24896f8ed /arch/um/kernel/ptrace.c
parentarch/um/kernel/mem.c: remove arch_validate() (diff)
downloadlinux-99764fa4ceeecba8b9e0a8a5565b418a2e94f83b.tar.xz
linux-99764fa4ceeecba8b9e0a8a5565b418a2e94f83b.zip
UML: make several more things static
- Make some variables and functions static, since they don't need to be global. - Remove an unused function - arch/um/kernel/time.c::sched_clock(). - Clean the style a bit as complained by checkpatch.pl. Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: WANG Cong <wangcong@zeuux.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/ptrace.c')
-rw-r--r--arch/um/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/ptrace.c b/arch/um/kernel/ptrace.c
index 47b57b497d55..15e8b7c4de13 100644
--- a/arch/um/kernel/ptrace.c
+++ b/arch/um/kernel/ptrace.c
@@ -225,7 +225,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
return ret;
}
-void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs,
+static void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs,
int error_code)
{
struct siginfo info;