bernard.xiong@gmail.com a5e0a4526a update jffs2 to use MTD device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1938 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07 03:53:11 +00:00

15 lines
304 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) rt_malloc(x)
#define kfree(x) rt_free(x)
#define vmalloc(x) rt_malloc(x)
#define vfree(x) rt_free(x)
#endif /* __LINUX_SLAB_H__ */