]> git.pld-linux.org Git - packages/igb.git/blame - linux-4.1.9.patch
- fix building on linux 4.1.9
[packages/igb.git] / linux-4.1.9.patch
CommitLineData
871f90df
JR
1--- igb-5.3.3.2/src/kcompat.h~ 2015-09-11 23:47:20.000000000 +0200
2+++ igb-5.3.3.2/src/kcompat.h 2015-10-01 08:16:35.598629802 +0200
3@@ -4576,7 +4576,7 @@
4 #define HAVE_NDO_BRIDGE_GETLINK_NLFLAGS
5 #endif /* 4,1,0 */
6
7-#if ( LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) )
8+#if ( (LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0)) && !(LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,9)) )
9 #if (!(SLE_VERSION_CODE && SLE_VERSION_CODE >= SLE_VERSION(12,1,0)))
10 static inline bool page_is_pfmemalloc(struct page *page)
11 {
12@@ -4589,8 +4589,10 @@
13 #endif /* !SLES12sp1 */
14
15 #else
16-#define HAVE_NDO_DFLT_BRIDGE_GETLINK_VLAN_SUPPORT
17 #undef HAVE_STRUCT_PAGE_PFMEMALLOC
18 #endif /* 4.2.0 */
19+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) )
20+#define HAVE_NDO_DFLT_BRIDGE_GETLINK_VLAN_SUPPORT
21+#endif /* 4.2.0 */
22
23 #endif /* _KCOMPAT_H_ */
This page took 0.035069 seconds and 4 git commands to generate.