mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.3 missing <linux/malloc.h>
@ 2002-01-30 22:28 David Dyck
  2002-01-30 22:44 ` Andreas Dilger
  2002-01-30 22:52 ` Ben Clifford
  0 siblings, 2 replies; 5+ messages in thread
From: David Dyck @ 2002-01-30 22:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: R.E.Wolff


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?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-01 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-30 22:28 2.5.3 missing <linux/malloc.h> David Dyck
2002-01-30 22:44 ` Andreas Dilger
2002-01-31  0:38   ` Jeff Garzik
2002-01-30 22:52 ` Ben Clifford
2002-02-01 13:19   ` Heinz J . Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®