aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/sembuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/sembuf.h')
-rw-r--r--include/asm-x86/sembuf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/sembuf.h b/include/asm-x86/sembuf.h
new file mode 100644
index 00000000000..e42c971e383
--- /dev/null
+++ b/include/asm-x86/sembuf.h
@@ -0,0 +1,13 @@
+#ifdef __KERNEL__
+# ifdef CONFIG_X86_32
+# include "sembuf_32.h"
+# else
+# include "sembuf_64.h"
+# endif
+#else
+# ifdef __i386__
+# include "sembuf_32.h"
+# else
+# include "sembuf_64.h"
+# endif
+#endif