diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-30 14:02:13 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-01-30 14:02:13 +0000 |
commit | eccc813c598114d8cfe19ed1f61893accbadd875 (patch) | |
tree | c62dadc1cce07243b91ea53841eb17521b46ae06 /package/wprobe/src/kernel/wprobe-core.c | |
parent | b184c2801005badf926b48f6b50ddd602ed3d60c (diff) |
[package] fix wprobe build for arm on 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29957 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wprobe/src/kernel/wprobe-core.c')
-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 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> |