Re: (patch-2.4.6) Fix oops with Iomega Clik! (ide-floppy)

David Woodhouse (dwmw2@infradead.org)
Sat, 14 Jul 2001 19:49:21 +0100


jgarzik@mandrakesoft.com said:
> malloc.h is extra indirection we don't need. IMHO
> /* malloc.h */
> #include <linux/slab.h>
> is a windows interface. Linux wrappers should be kept to a minimum...

Fine. I can see the logic in that.

mv include/linux/slab.h include/linux/malloc.h
perl -pi -e s/_LINUX_SLAB_H/_LINUX_MALLOC_H/ include/linux/malloc.h
cat > include/linux/slab.h <<EOF
#warning Please include malloc.h not slab.h
#include <linux/malloc.h>
EOF

--
dwmw2

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