uml: kernel_thread shouldn't panic
[pv_ops_mirror.git] / arch / um / include / um_malloc.h
blobe6d7c5aa3f4e26202e70e5fd2b325adcff03dbfa
1 /*
2 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
3 * Licensed under the GPL
4 */
6 #ifndef __UM_MALLOC_H__
7 #define __UM_MALLOC_H__
9 extern void *um_kmalloc(int size);
10 extern void *um_kmalloc_atomic(int size);
11 extern void kfree(const void *ptr);
13 extern void *um_vmalloc(int size);
14 extern void vfree(void *ptr);
16 #endif /* __UM_MALLOC_H__ */