[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091112224319.GJ2605@pc-ran3241.res.insa>
Date: Thu, 12 Nov 2009 23:43:36 +0100
From: Albin Tonnerre <albin.tonnerre@...e-electrons.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: hpa@...or.com, rmk@....linux.org.uk, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/4] Add support for LZO-compressed kernels
On Thu, 12 Nov 2009 14:33 -0800, Andrew Morton wrote :
> On Wed, 11 Nov 2009 13:27:55 +0100
> Albin Tonnerre <albin.tonnerre@...e-electrons.com> wrote:
>
> > +STATIC inline int INIT unlzo(u8 *input, int in_len,
>
> I assume the macro gunk is to support testing of the code in a
> userspace test haress?
> Where does INIT get defined?
STATIC and INIT are both defined in include/linux/decompress/mm.h. They're
needed to support using the decompression code both in the kernel bootstrap code
if the kernel image is compressed, and as part of the kernel code if it used to
extract an initrd/initramfs image.
Regards,
--
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists