mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-29 10:30:24 +00:00
add jffs2 code (porting from ecos v3.0)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
14
components/dfs/filesystems/jffs2/kernel/linux/slab.h
Normal file
14
components/dfs/filesystems/jffs2/kernel/linux/slab.h
Normal file
@@ -0,0 +1,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) malloc(x)
|
||||
#define kfree(x) free(x)
|
||||
#define vmalloc(x) malloc(x)
|
||||
#define vfree(x) free(x)
|
||||
|
||||
#endif /* __LINUX_SLAB_H__ */
|
||||
|
||||
Reference in New Issue
Block a user