diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-05 01:31:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:31 -0500 |
commit | 95906b24fbe4d22e5861f67fe1e8274c7ecfeda1 (patch) | |
tree | f5ac2e3e2fc0369bf0c9ba0fb327eaba5a1ae047 /arch/um/include | |
parent | 7281ff952c7b3cbefb14847460e5fe73a2d240e4 (diff) |
uml: style fixes in arch/um/sys-x86_64
Style fixes in arch/um/sys-x86_64:
updated copyrights
CodingStyle fixes
added severities to printks which needed them
A bunch of functions in sys-*/ptrace_user.c turn out to be unused, so they and
their declarations are gone.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/ptrace_user.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/um/include/ptrace_user.h b/arch/um/include/ptrace_user.h index f3450e6bc18d..4bce6e012889 100644 --- a/arch/um/include/ptrace_user.h +++ b/arch/um/include/ptrace_user.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -10,12 +10,6 @@ | |||
10 | 10 | ||
11 | extern int ptrace_getregs(long pid, unsigned long *regs_out); | 11 | extern int ptrace_getregs(long pid, unsigned long *regs_out); |
12 | extern int ptrace_setregs(long pid, unsigned long *regs_in); | 12 | extern int ptrace_setregs(long pid, unsigned long *regs_in); |
13 | extern int ptrace_getfpregs(long pid, unsigned long *regs_out); | ||
14 | extern int ptrace_setfpregs(long pid, unsigned long *regs); | ||
15 | extern void arch_enter_kernel(void *task, int pid); | ||
16 | extern void arch_leave_kernel(void *task, int pid); | ||
17 | extern void ptrace_pokeuser(unsigned long addr, unsigned long data); | ||
18 | |||
19 | 13 | ||
20 | /* syscall emulation path in ptrace */ | 14 | /* syscall emulation path in ptrace */ |
21 | 15 | ||
@@ -54,7 +48,8 @@ extern int sysemu_supported; | |||
54 | (((int[3][3] ) { \ | 48 | (((int[3][3] ) { \ |
55 | { PTRACE_SYSCALL, PTRACE_SYSCALL, PTRACE_SINGLESTEP }, \ | 49 | { PTRACE_SYSCALL, PTRACE_SYSCALL, PTRACE_SINGLESTEP }, \ |
56 | { PTRACE_SYSEMU, PTRACE_SYSEMU, PTRACE_SINGLESTEP }, \ | 50 | { PTRACE_SYSEMU, PTRACE_SYSEMU, PTRACE_SINGLESTEP }, \ |
57 | { PTRACE_SYSEMU, PTRACE_SYSEMU_SINGLESTEP, PTRACE_SYSEMU_SINGLESTEP }}) \ | 51 | { PTRACE_SYSEMU, PTRACE_SYSEMU_SINGLESTEP, \ |
52 | PTRACE_SYSEMU_SINGLESTEP } }) \ | ||
58 | [sysemu_mode][singlestep_mode]) | 53 | [sysemu_mode][singlestep_mode]) |
59 | 54 | ||
60 | #endif | 55 | #endif |