2012-01-14 02:45:44 +08:00
|
|
|
#ifndef __LINUX_SLAB_H__
|
|
|
|
#define __LINUX_SLAB_H__
|
|
|
|
|
2012-01-31 09:29:22 +08:00
|
|
|
//#include <stdlib.h> //prife
|
2012-01-14 02:45:44 +08:00
|
|
|
|
|
|
|
#include <asm/page.h> /* Don't ask. Linux headers are a mess. */
|
|
|
|
|
2012-02-07 11:53:11 +08:00
|
|
|
#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)
|
2012-01-14 02:45:44 +08:00
|
|
|
|
|
|
|
#endif /* __LINUX_SLAB_H__ */
|
|
|
|
|