1 /* SPDX-License-Identifier: GPL-2.0 */
6 #ifndef __UM_MALLOC_H__
7 #define __UM_MALLOC_H__
9 #include <generated/asm-offsets.h>
11 extern void *uml_kmalloc(int size, int flags);
12 extern void kfree(const void *ptr);
14 extern void *vmalloc_noprof(unsigned long size);
15 #define vmalloc(...) vmalloc_noprof(__VA_ARGS__)
16 extern void vfree(const void *ptr);
18 #endif /* __UM_MALLOC_H__ */