summaryrefslogtreecommitdiff
path: root/arch/um/include/registers.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-02-07 12:58:43 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-07 16:12:32 -0800
commite2216feb37f1df65a29fb1e5ed41d9f7ba657b2c (patch)
tree445da277a6f0202c6de853474f846467bf2dd7b7 /arch/um/include/registers.h
parent43b00fdbb13bfc1b2f4a8e5b65315db6d9c479a3 (diff)
[PATCH] uml: initialize process FP registers properly
We weren't making sure that we initialized the FP registers of new processes to sane values. This patch also moves some defines in the affected area closer to where they are used. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include/registers.h')
-rw-r--r--arch/um/include/registers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/registers.h b/arch/um/include/registers.h
index 4892e5fcef07..83b688ca198f 100644
--- a/arch/um/include/registers.h
+++ b/arch/um/include/registers.h
@@ -14,7 +14,7 @@ extern int restore_fp_registers(int pid, unsigned long *fp_regs);
extern void save_registers(int pid, union uml_pt_regs *regs);
extern void restore_registers(int pid, union uml_pt_regs *regs);
extern void init_registers(int pid);
-extern void get_safe_registers(unsigned long * regs);
+extern void get_safe_registers(unsigned long * regs, unsigned long * fp_regs);
extern void get_thread_regs(union uml_pt_regs *uml_regs, void *buffer);
#endif