Re: 2.6.12-rc2-mm2

From: Paulo Marques
Date: Fri Apr 08 2005 - 10:25:49 EST


Jan Dittmer wrote:
Andrew Morton wrote:

create-a-kstrdup-library-function.patch
create a kstrdup library function

create-a-kstrdup-library-function-fixes.patch
create-a-kstrdup-library-function-fixes

Oops, forgot to include slab.h. I guess the other #include's were including it somewhere down the line on x86, so it went unnoticed :(

The attached patch should fix this.

[PATCH] create-a-kstrdup-library-function-fix-include-slab

Signed-off-by: Paulo Marques <pmarques@xxxxxxxxxxxx>

--
Paulo Marques - www.grupopie.com

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)
--- ./lib/string.c.orig 2005-04-08 16:07:14.000000000 +0100
+++ ./lib/string.c 2005-04-08 16:08:29.000000000 +0100
@@ -23,6 +23,7 @@
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/module.h>
+#include <linux/slab.h>

#ifndef __HAVE_ARCH_STRNICMP
/**