kernel: add missing symbols for linux 4.4
[openwrt/openwrt.git] / target / linux / x86 / patches-3.18 / 011-tune_lzma_options.patch
1 --- a/scripts/Makefile.lib
2 +++ b/scripts/Makefile.lib
3 @@ -325,7 +325,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^)
4
5 quiet_cmd_lzma = LZMA $@
6 cmd_lzma = (cat $(filter-out FORCE,$^) | \
7 - lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
8 + lzma e -lc8 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
9 (rm -f $@ ; false)
10
11 quiet_cmd_lzo = LZO $@
12 --- a/arch/x86/include/asm/boot.h
13 +++ b/arch/x86/include/asm/boot.h
14 @@ -23,7 +23,7 @@
15 #error "Invalid value for CONFIG_PHYSICAL_ALIGN"
16 #endif
17
18 -#ifdef CONFIG_KERNEL_BZIP2
19 +#if defined(CONFIG_KERNEL_BZIP2) || defined(CONFIG_KERNEL_LZMA)
20 #define BOOT_HEAP_SIZE 0x400000
21 #else /* !CONFIG_KERNEL_BZIP2 */
22