[package] fix wprobe build for arm on 3.2
authorFlorian Fainelli <florian@openwrt.org>
Mon, 30 Jan 2012 14:02:13 +0000 (14:02 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 30 Jan 2012 14:02:13 +0000 (14:02 +0000)
SVN-Revision: 29957

package/wprobe/src/kernel/wprobe-core.c

index cf0c74a..6ec847a 100644 (file)
@@ -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>