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 cf0c74abad30a790eb3010982265d93884617612..6ec847a7a69ae98aee52b3fa3184f0b7c83e9ab9 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>