diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-30 14:02:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-01-30 14:02:13 +0000 |
commit | b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c (patch) | |
tree | bc53c24273ca870fe57547eba5f4c36497cb2965 /package/wprobe | |
parent | 6e20f40d47165031ab20176749dea4d5cd5e9242 (diff) | |
download | upstream-b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c.tar.gz upstream-b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c.tar.bz2 upstream-b8f41b051fb7ef83517821bd6d5ce8b32b40dd1c.zip |
fix wprobe build for arm on 3.2
SVN-Revision: 29957
Diffstat (limited to 'package/wprobe')
-rw-r--r-- | package/wprobe/src/kernel/wprobe-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
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> |