au1550_spi: fix prototype of irq handler
[wrt350n-kernel.git] / arch / um / include / um_malloc.h
blob0ad17cb83d96ef6b0ace0a4ea800113a8cc05040
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 #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__ */