kernel: add a workaround to rebuild vdso.so.dbg after genvdso
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 960-decompress_unlzo_fix.patch
1 --- /dev/null
2 +++ b/include/linux/decompress/unlzo_mm.h
3 @@ -0,0 +1,10 @@
4 +#ifndef UNLZO_MM_H
5 +#define UNLZO_MM_H
6 +
7 +#ifdef STATIC
8 +#define INIT
9 +#else
10 +#define INIT __init
11 +#endif
12 +
13 +#endif
14 --- a/lib/decompress_unlzo.c
15 +++ b/lib/decompress_unlzo.c
16 @@ -39,6 +39,7 @@
17
18 #include <linux/types.h>
19 #include <linux/lzo.h>
20 +#include <linux/decompress/unlzo_mm.h>
21 #include <linux/decompress/mm.h>
22
23 #include <linux/compiler.h>