at v2.6.20 17 lines 411 B view raw
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 9extern void *um_kmalloc(int size); 10extern void *um_kmalloc_atomic(int size); 11extern void kfree(const void *ptr); 12 13extern void *um_vmalloc(int size); 14extern void *um_vmalloc_atomic(int size); 15extern void vfree(void *ptr); 16 17#endif /* __UM_MALLOC_H__ */