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/sys-i386 | |
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/sys-i386')
-rw-r--r-- | arch/um/sys-i386/ptrace_user.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/um/sys-i386/ptrace_user.c b/arch/um/sys-i386/ptrace_user.c index 5cf97bc229b9..0b10c3e74028 100644 --- a/arch/um/sys-i386/ptrace_user.c +++ b/arch/um/sys-i386/ptrace_user.c | |||
@@ -19,17 +19,3 @@ int ptrace_setregs(long pid, unsigned long *regs) | |||
19 | return -errno; | 19 | return -errno; |
20 | return 0; | 20 | return 0; |
21 | } | 21 | } |
22 | |||
23 | int ptrace_getfpregs(long pid, unsigned long *regs) | ||
24 | { | ||
25 | if (ptrace(PTRACE_GETFPREGS, pid, 0, regs) < 0) | ||
26 | return -errno; | ||
27 | return 0; | ||
28 | } | ||
29 | |||
30 | int ptrace_setfpregs(long pid, unsigned long *regs) | ||
31 | { | ||
32 | if (ptrace(PTRACE_SETFPREGS, pid, 0, regs) < 0) | ||
33 | return -errno; | ||
34 | return 0; | ||
35 | } | ||