4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 05:43:31 +08:00
2012-01-31 01:29:22 +00:00

15 lines
292 B
C

#ifndef __LINUX_SLAB_H__
#define __LINUX_SLAB_H__
//#include <stdlib.h> //prife
#include <asm/page.h> /* Don't ask. Linux headers are a mess. */
#define kmalloc(x, y) malloc(x)
#define kfree(x) free(x)
#define vmalloc(x) malloc(x)
#define vfree(x) free(x)
#endif /* __LINUX_SLAB_H__ */