summaryrefslogtreecommitdiffstats
path: root/arch/um/include/um_malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/um_malloc.h')
-rw-r--r--arch/um/include/um_malloc.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/um/include/um_malloc.h b/arch/um/include/um_malloc.h
index 0ad17cb..c554d70 100644
--- a/arch/um/include/um_malloc.h
+++ b/arch/um/include/um_malloc.h
@@ -8,15 +8,12 @@
#include "kern_constants.h"
-extern void *__kmalloc(int size, int flags);
-static inline void *kmalloc(int size, int flags)
-{
- return __kmalloc(size, flags);
-}
-
+extern void *uml_kmalloc(int size, int flags);
extern void kfree(const void *ptr);
extern void *vmalloc(unsigned long size);
extern void vfree(void *ptr);
#endif /* __UM_MALLOC_H__ */
+
+
OpenPOWER on IntegriCloud