]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/um/include/um_malloc.h
Pull sbs into release branch
[mirror_ubuntu-artful-kernel.git] / arch / um / include / um_malloc.h
1 /*
2 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
3 * Licensed under the GPL
4 */
5
6 #ifndef __UM_MALLOC_H__
7 #define __UM_MALLOC_H__
8
9 #include "kern_constants.h"
10
11 extern void *__kmalloc(int size, int flags);
12 static inline void *kmalloc(int size, int flags)
13 {
14 return __kmalloc(size, flags);
15 }
16
17 extern void kfree(const void *ptr);
18
19 extern void *vmalloc(unsigned long size);
20 extern void vfree(void *ptr);
21
22 #endif /* __UM_MALLOC_H__ */