aboutsummaryrefslogtreecommitdiff
path: root/arch/um/sys-x86/shared/sysdep/sigcontext_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86/shared/sysdep/sigcontext_32.h')
-rw-r--r--arch/um/sys-x86/shared/sysdep/sigcontext_32.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/um/sys-x86/shared/sysdep/sigcontext_32.h b/arch/um/sys-x86/shared/sysdep/sigcontext_32.h
index 382786436194..aebc2dd61f0d 100644
--- a/arch/um/sys-x86/shared/sysdep/sigcontext_32.h
+++ b/arch/um/sys-x86/shared/sysdep/sigcontext_32.h
@@ -8,8 +8,6 @@
#include <generated/user_constants.h>
-#define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
-
#define SC_OFFSET(sc, field) \
*((unsigned long *) &(((char *) (sc))[HOST_##field]))
@@ -24,10 +22,4 @@
(fi).trap_no = SC_TRAPNO(sc); \
}
-/* This is Page Fault */
-#define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
-
-/* SKAS3 has no trap_no on i386, but get_skas_faultinfo() sets it to 0. */
-#define SEGV_MAYBE_FIXABLE(fi) ((fi)->trap_no == 0 && ptrace_faultinfo)
-
#endif