From a680c140606af17657c9d2c1584b36c5604295ef Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 30 Jan 2012 14:02:13 +0000
Subject: [package] fix wprobe build for arm on 3.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29957 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/wprobe/src/kernel/wprobe-core.c | 3 +++
 1 file changed, 3 insertions(+)

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>
-- 
cgit v1.2.3