Re: 2.5.3 missing <linux/malloc.h>

From: Ben Clifford (benc@hawaga.org.uk)
Date: Wed Jan 30 2002 - 17:52:16 EST


On Wed, 30 Jan 2002, David Dyck wrote:

> drivers/base/core.c
> drivers/base/fs.c
> try to include linux/malloc.h

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



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