summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/ioctl.h')
-rw-r--r--arch/powerpc/include/asm/ioctl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ioctl.h b/arch/powerpc/include/asm/ioctl.h
new file mode 100644
index 000000000000..57d68304218b
--- /dev/null
+++ b/arch/powerpc/include/asm/ioctl.h
@@ -0,0 +1,13 @@
+#ifndef _ASM_POWERPC_IOCTL_H
+#define _ASM_POWERPC_IOCTL_H
+
+#define _IOC_SIZEBITS 13
+#define _IOC_DIRBITS 3
+
+#define _IOC_NONE 1U
+#define _IOC_READ 2U
+#define _IOC_WRITE 4U
+
+#include <asm-generic/ioctl.h>
+
+#endif /* _ASM_POWERPC_IOCTL_H */