Re: 2.5.3 missing <linux/malloc.h>

From: Heinz J . Mauelshagen (mauelshagen@sistina.com)
Date: Fri Feb 01 2002 - 08:19:43 EST


On Wed, Jan 30, 2002 at 02:52:16PM -0800, Ben Clifford wrote:
> On Wed, 30 Jan 2002, David Dyck wrote:
>
> > drivers/base/core.c
> > drivers/base/fs.c
> > try to include linux/malloc.h

./drivers/video/neofb.c

and

./arch/arm/mach-clps711x/dma.c

include it also.

>
> > and I've noticed that many source files have
> > #include <linux/slab.h> /* kmalloc(), kfree() */
> > instead of trying to include linux/malloc.h
>
> I have been changing the two malloc.h references to slab.h since at least
> 2.5.3-pre6 and I think possibly also in 2.5.2.
>
> It seems to work ok.
>
> --
> Ben Clifford benc@hawaga.org.uk GPG: 30F06950
> Job Required in Los Angeles - Will do most things unix or IP for money.
> http://www.hawaga.org.uk/resume/resume001.pdf
> Live Ben-cam: http://barbarella.hawaga.org.uk/benc-cgi/watchers.cgi
>
>
> -
> 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/

-- 

Regards, Heinz -- The LVM Guy --

*** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@Sistina.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - 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 Feb 07 2002 - 21:00:14 EST