summaryrefslogtreecommitdiffstats
path: root/kernel/include/asm-generic/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/asm-generic/unistd.h')
-rw-r--r--kernel/include/asm-generic/unistd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/include/asm-generic/unistd.h b/kernel/include/asm-generic/unistd.h
new file mode 100644
index 000000000..cccc86ecf
--- /dev/null
+++ b/kernel/include/asm-generic/unistd.h
@@ -0,0 +1,12 @@
+#include <uapi/asm-generic/unistd.h>
+#include <linux/export.h>
+
+/*
+ * These are required system calls, we should
+ * invert the logic eventually and let them
+ * be selected by default.
+ */
+#if __BITS_PER_LONG == 32
+#define __ARCH_WANT_STAT64
+#define __ARCH_WANT_SYS_LLSEEK
+#endif