Re: 2.5.3 does not compile on sparc64

From: Patrick Mochel (mochel@osdl.org)
Date: Thu Jan 31 2002 - 11:46:36 EST


Hi there.

> Of course I had to correct dome
> #include <malloc.h>
> in
> #include <slab.h> (this is the case).

That's right. I've sent a patch to Linus, but here it is for everyone else
while waiting for 2.5.4-pre1.

        -pat

--- linux-2.5.3/drivers/base/core.c.1 Wed Jan 30 14:20:25 2002
+++ linux-2.5.3/drivers/base/core.c Wed Jan 30 14:20:33 2002
@@ -7,7 +7,7 @@
 
 #include <linux/device.h>
 #include <linux/module.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 
 #undef DEBUG
 
--- linux-2.5.3/drivers/base/fs.c.0 Wed Jan 30 14:20:44 2002
+++ linux-2.5.3/drivers/base/fs.c Wed Jan 30 14:20:52 2002
@@ -8,7 +8,7 @@
 #include <linux/device.h>
 #include <linux/module.h>
 #include <linux/string.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 
 extern struct driver_file_entry * device_default_files[];
 

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



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:35 EST