Re: [PATCH] decompressors: fix typo "POWERPC"

From: Paul Bolle
Date: Wed Mar 13 2013 - 08:05:48 EST


On Wed, 2013-03-13 at 13:30 +0200, Lasse Collin wrote:
> On 2013-03-12 Paul Bolle wrote:
> > 1) By the way: why does the XZ related code use both the macro
> > CONFIG_XZ_DEC_POWERPC and the macro XZ_DEC_POWERPC? (Ditto for other
> > architectures.) That looks odd.
>
> In a preboot environment the options selected for the xz_dec module are
> ignored.

Naive question: what is a preboot environment?

> If XZ-compressed kernel is selected, lib/decompress_unxz.c
> will enable a BCJ filter for that architecture. An alternative could be
> to #undef the CONFIG_XZ_DEC_foo symbols in decompress_unxz.c and then
> #define what is needed for the selected architecture, but I think the
> current method is OK. See also lib/xz/xz_private.h.

Thanks,


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/