aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/007-fix-linux-verification-h.patch
blob: 4011f1d3ba938069e1b23f1b1041a55394b28a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/backport-include/linux/verification.h
+++ b/backport-include/linux/verification.h
@@ -1,7 +1,7 @@
 #ifndef __BP_VERIFICATION_H
 #define __BP_VERIFICATION_H
 #include <linux/version.h>
-#ifndef CPTCFG_BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION
+#if LINUX_VERSION_IS_GEQ(4,7,0) && !defined(CPTCFG_BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION)
 #include_next <linux/verification.h>
 #else
 #include <linux/key.h>