lkml.org 
[lkml]   [2002]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.3 does not compile on sparc64

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/

\
 
 \ /
  Last update: 2005-03-22 13:16    [from the cache]
©2003-2011 Jasper Spaans