summaryrefslogtreecommitdiff
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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/ucontext.h b/include/asm-x86/ucontext.h
new file mode 100644
index 000000000000..175c8cb59731
--- /dev/null
+++ b/include/asm-x86/ucontext.h
@@ -0,0 +1,13 @@
+#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