]> git.baikalelectronics.ru Git - kernel.git/commit
xz: Enable BCJ filters on SPARC and 32-bit x86
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Apr 2012 16:55:44 +0000 (19:55 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Apr 2012 20:13:18 +0000 (13:13 -0700)
commit0b3a3b7e980662babfff5c7ea332f4a746471d91
tree69f699bf6c56ef3b2b801ffe6338e57d439a990c
parentdd33aa8cad70f9df055fbf08a0cd3087e097f0d2
xz: Enable BCJ filters on SPARC and 32-bit x86

The BCJ filters were meant to be enabled already on these
archs, but the xz_wrap.sh script was buggy. Enabling the
filters should give smaller kernel images.

xz_wrap.sh will now use $SRCARCH instead of $ARCH to detect
the architecture. That way it doesn't need to care about the
subarchs (like i386 vs. x86_64) since the BCJ filters don't
care either.

Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/xz_wrap.sh