projects/linux·blob master · refs

20 lines · 460 B

1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <[email protected]>
4 */
5
6#ifndef __UM_MALLOC_H__
7#define __UM_MALLOC_H__
8
9#include <generated/asm-offsets.h>
10
11extern void *uml_kmalloc(int size, int flags);
12extern void kfree(const void *ptr);
13
14extern void *vmalloc_noprof(unsigned long size);
15#define vmalloc(...) vmalloc_noprof(__VA_ARGS__)
16extern void vfree(const void *ptr);
17
18#endif /* __UM_MALLOC_H__ */
19
20