summaryrefslogtreecommitdiff
path: root/package/wprobe
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-30 14:02:13 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-30 14:02:13 +0000
commiteccc813c598114d8cfe19ed1f61893accbadd875 (patch)
treec62dadc1cce07243b91ea53841eb17521b46ae06 /package/wprobe
parentb184c2801005badf926b48f6b50ddd602ed3d60c (diff)
[package] fix wprobe build for arm on 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29957 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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>