Commit 0c2b208c authored by Tiwei Bie's avatar Tiwei Bie Committed by Richard Weinberger

um: Fix the declaration of vfree

The definition of vfree has changed since commit b3bdda02
("vmalloc: add const to void* parameters"). Update the declaration
of vfree in um_malloc.h to match the latest definition.
Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 53471c57
......@@ -12,7 +12,7 @@ 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);
extern void vfree(const void *ptr);
#endif /* __UM_MALLOC_H__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment