2.5.3 missing <linux/malloc.h>

From: David Dyck (dcd@tc.fluke.com)
Date: Wed Jan 30 2002 - 17:28:28 EST


Haven't seen this posted yet, so I'm surprised to report that
several 2.5.3 source files

    arch/arm/mach-clps711x/dma.c
    drivers/base/core.c
    drivers/base/fs.c
    drivers/video/neofb.c

try to include linux/malloc.h
but there is no file in the include directory by that name.

I worked around the problem by copying an older linux/malloc.h:

#ifndef _LINUX_MALLOC_H
#define _LINUX_MALLOC_H

#include <linux/slab.h>
#endif /* _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

What's the story/direction the code is taking?

-
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