summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86/shared/sysdep/sigcontext_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86/shared/sysdep/sigcontext_64.h')
-rw-r--r--arch/um/sys-x86/shared/sysdep/sigcontext_64.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/um/sys-x86/shared/sysdep/sigcontext_64.h b/arch/um/sys-x86/shared/sysdep/sigcontext_64.h
index 9fb527713efb..60d89a2fba06 100644
--- a/arch/um/sys-x86/shared/sysdep/sigcontext_64.h
+++ b/arch/um/sys-x86/shared/sysdep/sigcontext_64.h
@@ -15,8 +15,6 @@
#define SC_ERR(sc) SC_OFFSET(sc, SC_ERR)
#define SC_TRAPNO(sc) SC_OFFSET(sc, SC_TRAPNO)
-#define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
-
#define GET_FAULTINFO_FROM_SC(fi, sc) \
{ \
(fi).cr2 = SC_CR2(sc); \
@@ -24,10 +22,4 @@
(fi).trap_no = SC_TRAPNO(sc); \
}
-/* This is Page Fault */
-#define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
-
-/* No broken SKAS API, which doesn't pass trap_no, here. */
-#define SEGV_MAYBE_FIXABLE(fi) 0
-
#endif