diff options
author | Helge Deller <deller@gmx.de> | 2013-10-14 15:04:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 13:55:49 -0500 |
commit | 8f7e823f18150b6767e5e03ede80a0896a4adf06 (patch) | |
tree | 911ba66df619ce1e0e1127007ff1b015e67903ca | |
parent | cc447613b50aa83ff466878dd6245153b1cfb95c (diff) |
parisc: break out SOCK_NONBLOCK define to own asm header file
commit 38c7937379276a5ea8c54481205003af2f2b5694 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/parisc/include/asm/socket.h | 11 | ||||
-rw-r--r-- | arch/parisc/include/uapi/asm/socket.h | 11 |
2 files changed, 14 insertions, 8 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 @@ | |||
1 | #ifndef _ASM_SOCKET_H | ||
2 | #define _ASM_SOCKET_H | ||
3 | |||
4 | #include <uapi/asm/socket.h> | ||
5 | |||
6 | /* O_NONBLOCK clashes with the bits used for socket types. Therefore we | ||
7 | * have to define SOCK_NONBLOCK to a different value here. | ||
8 | */ | ||
9 | #define SOCK_NONBLOCK 0x40000000 | ||
10 | |||
11 | #endif /* _ASM_SOCKET_H */ | ||
diff --git a/arch/parisc/include/uapi/asm/socket.h b/arch/parisc/include/uapi/asm/socket.h index 70c512a386f7..4fecb26230e7 100644 --- a/arch/parisc/include/uapi/asm/socket.h +++ b/arch/parisc/include/uapi/asm/socket.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _ASM_SOCKET_H | 1 | #ifndef _UAPI_ASM_SOCKET_H |
2 | #define _ASM_SOCKET_H | 2 | #define _UAPI_ASM_SOCKET_H |
3 | 3 | ||
4 | #include <asm/sockios.h> | 4 | #include <asm/sockios.h> |
5 | 5 | ||
@@ -73,9 +73,4 @@ | |||
73 | 73 | ||
74 | #define SO_SELECT_ERR_QUEUE 0x4026 | 74 | #define SO_SELECT_ERR_QUEUE 0x4026 |
75 | 75 | ||
76 | /* O_NONBLOCK clashes with the bits used for socket types. Therefore we | 76 | #endif /* _UAPI_ASM_SOCKET_H */ |
77 | * have to define SOCK_NONBLOCK to a different value here. | ||
78 | */ | ||
79 | #define SOCK_NONBLOCK 0x40000000 | ||
80 | |||
81 | #endif /* _ASM_SOCKET_H */ | ||