summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/include/uapi/asm/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/include/uapi/asm/ioctl.h')
-rw-r--r--kernel/arch/powerpc/include/uapi/asm/ioctl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/include/uapi/asm/ioctl.h b/kernel/arch/powerpc/include/uapi/asm/ioctl.h
new file mode 100644
index 000000000..57d683042
--- /dev/null
+++ b/kernel/arch/powerpc/include/uapi/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 */