summaryrefslogtreecommitdiff
path: root/package/wprobe
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-30 14:02:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-01-30 14:02:13 +0000
commitb8f41b051fb7ef83517821bd6d5ce8b32b40dd1c (patch)
treebc53c24273ca870fe57547eba5f4c36497cb2965 /package/wprobe
parent6e20f40d47165031ab20176749dea4d5cd5e9242 (diff)
downloadmtk-20170518-b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c.zip
mtk-20170518-b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c.tar.gz
mtk-20170518-b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c.tar.bz2
fix wprobe build for arm on 3.2
SVN-Revision: 29957
Diffstat (limited to 'package/wprobe')
-rw-r--r--package/wprobe/src/kernel/wprobe-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/wprobe/src/kernel/wprobe-core.c b/package/wprobe/src/kernel/wprobe-core.c
index cf0c74a..6ec847a 100644
--- a/package/wprobe/src/kernel/wprobe-core.c
+++ b/package/wprobe/src/kernel/wprobe-core.c
@@ -24,6 +24,9 @@
#else
#include <linux/list.h>
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+#include <linux/prefetch.h>
+#endif
#include <linux/skbuff.h>
#include <linux/wprobe.h>
#include <linux/math64.h>