From a1df417e74aa6dae7352dc8cbb0ad471af5b7c69 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Mon, 25 Apr 2016 10:00:44 -0400 Subject: initial Olimex linux tree from Daniel, originally Feb 3, 2016 --- linux/arch/um/include/shared/um_malloc.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 linux/arch/um/include/shared/um_malloc.h (limited to 'linux/arch/um/include/shared/um_malloc.h') diff --git a/linux/arch/um/include/shared/um_malloc.h b/linux/arch/um/include/shared/um_malloc.h new file mode 100644 index 00000000..6395fef6 --- /dev/null +++ b/linux/arch/um/include/shared/um_malloc.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso + * Licensed under the GPL + */ + +#ifndef __UM_MALLOC_H__ +#define __UM_MALLOC_H__ + +#include + +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__ */ + + -- cgit