Some drivers are including kmemleak.h directly and this causes a build problem on old kernel versions as it is not available on all. --- include/linux/kmemleak.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 include/linux/kmemleak.h diff --git a/include/linux/kmemleak.h b/include/linux/kmemleak.h new file mode 100644 index 0000000..83bd199 --- /dev/null +++ b/include/linux/kmemleak.h @@ -0,0 +1,5 @@ +#include <linux/version.h> + +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) +#include_next <linux/kmemleak.h> +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html