aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/sysdep-i386/archsetjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/sysdep-i386/archsetjmp.h')
-rw-r--r--arch/um/include/sysdep-i386/archsetjmp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/include/sysdep-i386/archsetjmp.h b/arch/um/include/sysdep-i386/archsetjmp.h
index ea1ba3d42ae..11bafab669e 100644
--- a/arch/um/include/sysdep-i386/archsetjmp.h
+++ b/arch/um/include/sysdep-i386/archsetjmp.h
@@ -16,4 +16,7 @@ struct __jmp_buf {
typedef struct __jmp_buf jmp_buf[1];
+#define JB_IP __eip
+#define JB_SP __esp
+
#endif /* _SETJMP_H */