From 9d685863ab5c139d3d78d241f7a0455b09f96399 Mon Sep 17 00:00:00 2001 From: Vipul Pandya Date: Mon, 7 May 2012 12:57:52 +0530 Subject: [PATCH] compat: Add build support for cxgb3 driver Signed-off-by: Vipul Pandya --- include/net/dst.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 */ -- 2.46.0