parisc: break out SOCK_NONBLOCK define to own asm header file
Helge Deller
maintainerPATCH 1/1 parisc: break out SOCK_NONBLOCK define to own asm header file
Dear stable kernel maintainers,
Can you please schedule this patch for inclusion starting from kernel 3.7+ ?
Upstream commit:
38c7937 parisc: break out SOCK_NONBLOCK define to own asm header file
Cherry-picking will probably not work easily because of this patch which went in before: 62748f3 net: introduce SO_MAX_PACING_RATE
Thanks,
Helge
----------------
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.
arch/parisc/include/asm/socket.h new file +11 -0
@@ -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 */
arch/parisc/include/uapi/asm/socket.h +2 -6
@@ -1,5 +1,5 @@ -#ifndef _ASM_SOCKET_H -#define _ASM_SOCKET_H +#ifndef _UAPI_ASM_SOCKET_H +#define _UAPI_ASM_SOCKET_H#include <asm/sockios.h>
@@ -75,9 +75,4 @@#define SO_BUSY_POLL 0x4027 -/* 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
Quoted 4 lines · Helge Deller
Dear stable kernel maintainers,
Can you please schedule this patch for inclusion starting from kernel 3.7+ ?
Quoted 8 lines
Upstream commit:
38c7937 parisc: break outSOCK_NONBLOCKdefine to own asm header fileCherry-picking will probably not work easily because of this patch which went in before: 62748f3 net: introduce
SO_MAX_PACING_RATEThanks,
Helge
Thank you, I am queuing this patch for the 3.11 kernel.
Cheers,
--
Luis
Quoted 53 lines
---------------- parisc: break out
SOCK_NONBLOCKdefine to own asm header fileBreak
SOCK_NONBLOCKout to its own asm-file as other arches do. This fixes build errors with auditd and probably other packages.Signed-off-by Helge Deller <[email protected]>arch/parisc/include/asm/socket.h new file +11
-0@@ -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 */ arch/parisc/include/uapi/asm/socket.h +3
-9@@ -1,5 +1,5 @@ -#ifndef _ASM_SOCKET_H -#define _ASM_SOCKET_H +#ifndef _UAPI_ASM_SOCKET_H +#define _UAPI_ASM_SOCKET_H#include <asm/sockios.h> @@ -75,9 +75,4 @@#define SO_BUSY_POLL 0x4027 -/* 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 */ +#endif /* _UAPI_ASM_SOCKET_H */ --To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html