summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/socket.h
diff options
context:
space:
mode:
authorHelge Deller2013-10-14 21:04:13 +0200
committerHelge Deller2013-11-19 23:36:17 +0100
commit38c7937379276a5ea8c54481205003af2f2b5694 (patch)
treeb0ebe038356be388a22ce5d2d13e9d8d7324c64e /arch/parisc/include/asm/socket.h
parentparisc: do not inline pa_memcpy() internal functions (diff)
downloadkernel-qcow2-linux-38c7937379276a5ea8c54481205003af2f2b5694.tar.gz
kernel-qcow2-linux-38c7937379276a5ea8c54481205003af2f2b5694.tar.xz
kernel-qcow2-linux-38c7937379276a5ea8c54481205003af2f2b5694.zip
parisc: break out SOCK_NONBLOCK define to own asm header file
Break SOCK_NONBLOCK out to its own asm-file as other arches do. This fixes build errors with auditd and probably other packages. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/socket.h')
-rw-r--r--arch/parisc/include/asm/socket.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/socket.h b/arch/parisc/include/asm/socket.h
new file mode 100644
index 000000000000..748016cb122d
--- /dev/null
+++ b/arch/parisc/include/asm/socket.h
@@ -0,0 +1,11 @@
+#ifndef _ASM_SOCKET_H
+#define _ASM_SOCKET_H
+
+#include <uapi/asm/socket.h>
+
+/* O_NONBLOCK clashes with the bits used for socket types. Therefore we
+ * have to define SOCK_NONBLOCK to a different value here.
+ */
+#define SOCK_NONBLOCK 0x40000000
+
+#endif /* _ASM_SOCKET_H */