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

From: Olaf Hering
Date: Wed Nov 02 2005 - 08:06:30 EST


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.

--
short story of a lazy sysadmin:
alias appserv=wotan
-
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/