1 2 3 4 5 6 7
#ifndef _LINUX_MALLOC_H #define _LINUX_MALLOC_H #warning linux/malloc.h is deprecated, use linux/slab.h instead. #include <linux/slab.h> #endif /* _LINUX_MALLOC_H */