Re: [PATCH 1/2] slob: move kstrdup to lib/string.c

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

 



On Wed, Nov 02, 2005 at 02:04:35PM +0100, Olaf Hering wrote:
>  On Wed, Nov 02, Paul Mackeras wrote:
> 
> > Andrew Morton writes:
> > 
> > > > That doesn't sound kosher, have a pointer?
> > > > 
> > > 
> > > http://lkml.org/lkml/2005/4/8/128
> > 
> > Yes, we currently use bits of lib/ in the zImage boot wrapper.  I
> > suspect we used to have our own string routines for the boot wrapper
> > until somebody said "why do we have all this code duplicated" and
> > cleaned it up. :)
> 
> We cant continue to use files from lib/ in arch/powerpc/boot when they
> start to use kernel internals like kmalloc. I converted a few
> zlib_inflate files with sed already. But things will get really ugly if
> we have to do more on-the-fly modifications. After all,
> arch/$ARCH/boot is no kernel code, it has to be standalone.
> Maybe we should just have no arch/powerpc/boot.

I've always thought one of the nice points about ppc linux was that the
kernel just booted on your board, no matter what crazy firmware there
was.

-- 
Tom Rini
http://gate.crashing.org/~trini/
-
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