spi_s3c24xx.c: Fix build
[firefly-linux-kernel-4.4.55.git] / net / socket.c
index a7bd0df115b26ec190ac37dc32c0c8b26fb946ea..759825b7ca263b4073d39338debc7a4a04a4a6a1 100644 (file)
@@ -261,8 +261,7 @@ static void init_once(void *foo, struct kmem_cache *cachep, unsigned long flags)
 {
        struct socket_alloc *ei = (struct socket_alloc *)foo;
 
-       if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR))
-           == SLAB_CTOR_CONSTRUCTOR)
+       if (flags & SLAB_CTOR_CONSTRUCTOR)
                inode_init_once(&ei->vfs_inode);
 }
 
@@ -614,6 +613,8 @@ void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk,
        }
 }
 
+EXPORT_SYMBOL_GPL(__sock_recv_timestamp);
+
 static inline int __sock_recvmsg(struct kiocb *iocb, struct socket *sock,
                                 struct msghdr *msg, size_t size, int flags)
 {