summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/sys-x86_64
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 01:44:26 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:24 -0800
commit6c59e2f593d0c00c78ec48146de6eaf52a342dd5 (patch)
tree09eb3e844d927ff79b19079390686da441624240 /arch/um/os-Linux/sys-x86_64
parentc538b391a7e8f3cb5d7756ec68d1864429d26a0c (diff)
downloadblackbird-op-linux-6c59e2f593d0c00c78ec48146de6eaf52a342dd5.tar.gz
blackbird-op-linux-6c59e2f593d0c00c78ec48146de6eaf52a342dd5.zip
[PATCH] uml: register handling formatting fixes
Formatting fixes in the register handling code. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/os-Linux/sys-x86_64')
-rw-r--r--arch/um/os-Linux/sys-x86_64/registers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/os-Linux/sys-x86_64/registers.c b/arch/um/os-Linux/sys-x86_64/registers.c
index cb8e8a263280..a2d7e0c603f7 100644
--- a/arch/um/os-Linux/sys-x86_64/registers.c
+++ b/arch/um/os-Linux/sys-x86_64/registers.c
@@ -27,12 +27,12 @@ static int move_registers(int pid, int int_op, int fp_op,
union uml_pt_regs *regs)
{
if(ptrace(int_op, pid, 0, regs->skas.regs) < 0)
- return(-errno);
+ return -errno;
if(ptrace(fp_op, pid, 0, regs->skas.fp) < 0)
- return(-errno);
+ return -errno;
- return(0);
+ return 0;
}
void save_registers(int pid, union uml_pt_regs *regs)
OpenPOWER on IntegriCloud