treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / um / include / shared / um_malloc.h
blob13da93284c2c7f35cef859c3c79647a58315acd5
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
4 */
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(unsigned long size);
15 extern void vfree(void *ptr);
17 #endif /* __UM_MALLOC_H__ */