From b33fc8298f7e13226b9895abc57c9bfce5e3fa2d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 8 Jan 2017 00:13:18 -0900 Subject: bcache in userspace; userspace fsck --- include/linux/vmalloc.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/linux/vmalloc.h (limited to 'include/linux/vmalloc.h') diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h new file mode 100644 index 0000000..eb6284d --- /dev/null +++ b/include/linux/vmalloc.h @@ -0,0 +1,8 @@ +#ifndef __TOOLS_LINUX_VMALLOC_H +#define __TOOLS_LINUX_VMALLOC_H + +#define vmalloc(size) malloc(size) +#define __vmalloc(size, flags, prot) malloc(size) +#define vfree(p) free(p) + +#endif /* __TOOLS_LINUX_VMALLOC_H */ -- cgit v1.2.3