From eccc813c598114d8cfe19ed1f61893accbadd875 Mon Sep 17 00:00:00 2001
From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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(+)

(limited to 'package/wprobe/src/kernel')

diff --git a/package/wprobe/src/kernel/wprobe-core.c b/package/wprobe/src/kernel/wprobe-core.c
index cf0c74aba..6ec847a7a 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