summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ucontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/ucontext.h')
-rw-r--r--include/asm-x86/ucontext.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/include/asm-x86/ucontext.h b/include/asm-x86/ucontext.h
index 175c8cb59731..50a79f7fcde9 100644
--- a/include/asm-x86/ucontext.h
+++ b/include/asm-x86/ucontext.h
@@ -1,13 +1,12 @@
-#ifdef __KERNEL__
-# ifdef CONFIG_X86_32
-# include "ucontext_32.h"
-# else
-# include "ucontext_64.h"
-# endif
-#else
-# ifdef __i386__
-# include "ucontext_32.h"
-# else
-# include "ucontext_64.h"
-# endif
-#endif
+#ifndef _ASM_X86_UCONTEXT_H
+#define _ASM_X86_UCONTEXT_H
+
+struct ucontext {
+ unsigned long uc_flags;
+ struct ucontext *uc_link;
+ stack_t uc_stack;
+ struct sigcontext uc_mcontext;
+ sigset_t uc_sigmask; /* mask last for extensibility */
+};
+
+#endif /* _ASM_X86_UCONTEXT_H */