Browse Source

fix wprobe build for arm on 3.2

SVN-Revision: 29957
Florian Fainelli 14 years ago
parent
commit
b8f41b051f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/wprobe/src/kernel/wprobe-core.c

+ 3 - 0
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>