Re: 2.5.3 does not compile on sparc64

From: Luigi Genoni (kernel@Expansa.sns.it)
Date: Thu Jan 31 2002 - 12:26:18 EST


Yes, but the error do persist also with this patch,
probably my english was unclear.
I changes the include, because otherway I was getting
a no such file message, after the change I got this error
message.
I should add that gcc for sparc64 to compile a 64 bit kernel is just egcs
1.1.2, because gcc 2.95 and following have problems to compile at 64 bit
of sparc.

Luigi

On Thu, 31 Jan 2002, Patrick Mochel wrote:

>
> 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/
>

-
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:36 EST