aboutsummaryrefslogtreecommitdiffstats
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
commita680c140606af17657c9d2c1584b36c5604295ef (patch)
treec62dadc1cce07243b91ea53841eb17521b46ae06
parentd14447001d7bea2dd3c67c313be01b50c3eb815a (diff)
downloadupstream-a680c140606af17657c9d2c1584b36c5604295ef.tar.gz
upstream-a680c140606af17657c9d2c1584b36c5604295ef.tar.bz2
upstream-a680c140606af17657c9d2c1584b36c5604295ef.zip
[package] fix wprobe build for arm on 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29957 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 cf0c74abad..6ec847a7a6 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>