Re: [PATCH v2] lib/decompress_unxz.c: removing all memory helper functions

Joe Perches
2012-06-12T17:40:14Z

On Tue, 2012-06-12 at 10:30 -0700, H. Peter Anvin wrote:
> On 06/12/2012 10:26 AM, Nicolas Pitre wrote:
> >
> > Instead of copying, maybe this would be much better to make the content
> > of lib/string.c usable in a pre-boot environment.

> Not sure about that... a lot of it is #ifndef __HAVE_ARCH_* and you
> *really* want those optimizations on some arches.

Can __weak be used?