slab.h 304 B

1234567891011121314
  1. #ifndef __LINUX_SLAB_H__
  2. #define __LINUX_SLAB_H__
  3. //#include <stdlib.h> //prife
  4. #include <asm/page.h> /* Don't ask. Linux headers are a mess. */
  5. #define kmalloc(x, y) rt_malloc(x)
  6. #define kfree(x) rt_free(x)
  7. #define vmalloc(x) rt_malloc(x)
  8. #define vfree(x) rt_free(x)
  9. #endif /* __LINUX_SLAB_H__ */