summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/sys-i386/registers.c
diff options
context:
space:
mode:
authorTodd Poynor <tpoynor@mvista.com>2005-07-12 03:34:39 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-07-13 00:58:44 +0200
commita98a5d04f400ad112e59cadd739dbabf89417e60 (patch)
tree5eeb7f45c0090de40c7523e2b9dfd5e86b22169e /arch/um/os-Linux/sys-i386/registers.c
parent751382dd5cb2702368d281a50b55c2d6c4e8fbfc (diff)
parent7ac3db59fd4410405ce55e2a25c397aec440d8da (diff)
downloadblackbird-op-linux-a98a5d04f400ad112e59cadd739dbabf89417e60.tar.gz
blackbird-op-linux-a98a5d04f400ad112e59cadd739dbabf89417e60.zip
Merge with rsync://fileserver/linux
Diffstat (limited to 'arch/um/os-Linux/sys-i386/registers.c')
-rw-r--r--arch/um/os-Linux/sys-i386/registers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/um/os-Linux/sys-i386/registers.c b/arch/um/os-Linux/sys-i386/registers.c
index 9a0ad094d926..3125d320722c 100644
--- a/arch/um/os-Linux/sys-i386/registers.c
+++ b/arch/um/os-Linux/sys-i386/registers.c
@@ -121,6 +121,11 @@ void init_registers(int pid)
err);
}
+void get_safe_registers(unsigned long *regs)
+{
+ memcpy(regs, exec_regs, HOST_FRAME_SIZE * sizeof(unsigned long));
+}
+
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
OpenPOWER on IntegriCloud