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. */
|
|
|
|
|
|
|
|
#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__ */
|
|
|
|
|