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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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__ */