2 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
3 * Licensed under the GPL
6 #ifndef __UM_MALLOC_H__
7 #define __UM_MALLOC_H__
9 #include "kern_constants.h"
11 extern void *__kmalloc(int size
, int flags
);
12 static inline void *kmalloc(int size
, int flags
)
14 return __kmalloc(size
, flags
);
17 extern void kfree(const void *ptr
);
19 extern void *vmalloc(unsigned long size
);
20 extern void vfree(void *ptr
);
22 #endif /* __UM_MALLOC_H__ */