From: Hauke Mehrtens Date: Mon, 18 Oct 2010 20:36:35 +0000 (+0200) Subject: compat: backport sock_recv_ts_and_drops X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cd70b7a481f2befdb06401e62c3653db22099eb1;p=openwrt%2Fstaging%2Fblogic.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 6a7cd3ed4d33..c2dbc1bae392 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 */