Re: [PATCH] lib: move kasprintf to a separate file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 28, 2007 at 03:48:32PM -0700, Jeremy Fitzhardinge wrote:
> Sam Ravnborg wrote:
> > kasprintf pulls in kmalloc which proved to be fatal for at least
> > bootimage target on alpha.
> > Move it to a separate file so only users of kasprintf are exposed
> > to the dependency on kmalloc.
> >   
> 
> OK by me (that's what my original patch did), but it might be worth
> documenting what environmental constraints vsprintf.c is under.  I
> didn't realize it was used by non-kernel code.

Looking for other users I saw that i386 iboot had included a minimal printf
implmentation which could also be a possibility for alpha.
Now the i386 printf does not support 64 bit - but I dunno if this is
a problem for alpha.

Actually I would prefer the local printf solution for alpha to
keep dependencies on the functions in lib/ as one may expect 
them (kernel only - not boot).

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux