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

From: Andrew Morton
Date: Wed Nov 02 2005 - 02:01:32 EST


Matt Mackall <mpm@xxxxxxxxxxx> wrote:
>
> This move kstrdup to lib/string.c

The placement in slab.c was deliberate. Putting it in lib/string.c breaks
ppc32.

ppc32 is reusing lib/string.c to build early userspace or something
like that, and calling kmalloc from there broke stuff.
-
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/