From: Vipul Pandya Date: Mon, 7 May 2012 07:27:52 +0000 (+0530) Subject: compat: Add build support for cxgb3 driver X-Git-Tag: compat-2012-07-02~13 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9d685863ab5c139d3d78d241f7a0455b09f96399;p=~tnikolova%2Fcompat%2F.git compat: Add build support for cxgb3 driver Signed-off-by: Vipul Pandya --- diff --git a/include/net/dst.h b/include/net/dst.h index f943fc4..08e0a8b 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -3,9 +3,9 @@ #include -#if (LINUX_VERSION_CODE > KERNEL_VERSION(3,1,0)) -#include -#else /* (LINUX_VERSION_CODE > KERNEL_VERSION(3,1,0)) */ +#if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 0, 0)) +#include_next +#else /* (LINUX_VERSION_CODE > KERNEL_VERSION(3,0,0)) */ #include_next static inline struct neighbour *dst_get_neighbour(struct dst_entry *dst) @@ -22,6 +22,6 @@ static inline struct neighbour *dst_get_neighbour_raw(struct dst_entry *dst) { return rcu_dereference_raw(dst->neighbour); } -#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(3,1,0)) */ +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(3,0,0)) */ #endif /* _COMPAT_NET_DST_H */