summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/jffs2/kernel/linux/slab.h
blob: f5c5745b0ee9802ec24761316ed14a9754db60f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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__ */