summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm/ioctl.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 10:47:26 +0200
committerDavid Howells <dhowells@redhat.com>2012-10-09 10:47:26 +0200
commitc3617f72036c909e1f6086b5b9e364e0ef90a6da (patch)
tree0c70e14cd6b42bc832f49f33f068e3f81b565cda /arch/powerpc/include/uapi/asm/ioctl.h
parentMerge branch 'akpm' (Andrew's patch-bomb) (diff)
downloadlinux-c3617f72036c909e1f6086b5b9e364e0ef90a6da.tar.xz
linux-c3617f72036c909e1f6086b5b9e364e0ef90a6da.zip
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/powerpc/include/uapi/asm/ioctl.h')
-rw-r--r--arch/powerpc/include/uapi/asm/ioctl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/ioctl.h b/arch/powerpc/include/uapi/asm/ioctl.h
new file mode 100644
index 000000000000..57d68304218b
--- /dev/null
+++ b/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 */