alpha: Don't export SOCK_NONBLOCK to user space.
[pandora-kernel.git] / arch / alpha / include / asm / socket.h
index 06edfef..3eeb47c 100644 (file)
 
 #define SO_RXQ_OVFL             40
 
+#ifdef __KERNEL__
 /* 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 /* __KERNEL__ */
 
 #endif /* _ASM_SOCKET_H */