From: Hauke Mehrtens Date: Mon, 18 Oct 2010 20:36:35 +0000 (+0200) Subject: compat: backport sock_recv_ts_and_drops X-Git-Tag: v2.6.37-rc1-1~8 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=cd70b7a481f2befdb06401e62c3653db22099eb1;p=compat-rdma%2Fcompat.git compat: backport sock_recv_ts_and_drops This is needed for bluetooth Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h index 6a7cd3e..c2dbc1b 100644 --- a/include/linux/compat-2.6.33.h +++ b/include/linux/compat-2.6.33.h @@ -145,6 +145,8 @@ static inline void compat_kfifo_free(struct kfifo **fifo) { prefetch(pos->member.next), &pos->member != (head); \ pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) +#define sock_recv_ts_and_drops(msg, sk, skb) sock_recv_timestamp(msg, sk, skb) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */ #endif /* LINUX_26_33_COMPAT_H */