RTEMS 6.1-rc6
Loading...
Searching...
No Matches
slab.h
1#ifndef __LINUX_SLAB_H__
2#define __LINUX_SLAB_H__
3
4#include <stdlib.h>
5
6#include <asm/page.h>
7
8#define kzalloc(x, y) calloc(1, x)
9#define kmalloc(x, y) malloc(x)
10#define kmalloc_array(x, y, z) kmalloc((x * y), z)
11#define kfree(x) free(x)
12#define kvfree(x) free(x)
13#define vmalloc(x) malloc(x)
14#define vfree(x) free(x)
15
16#endif /* __LINUX_SLAB_H__ */
17