summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/unistd.h')
-rw-r--r--arch/sh/include/asm/unistd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/sh/include/asm/unistd.h b/arch/sh/include/asm/unistd.h
new file mode 100644
index 0000000..65be656
--- /dev/null
+++ b/arch/sh/include/asm/unistd.h
@@ -0,0 +1,13 @@
+#ifdef __KERNEL__
+# ifdef CONFIG_SUPERH32
+# include "unistd_32.h"
+# else
+# include "unistd_64.h"
+# endif
+#else
+# ifdef __SH5__
+# include "unistd_64.h"
+# else
+# include "unistd_32.h"
+# endif
+#endif
OpenPOWER on IntegriCloud