mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 05:13:18 +00:00
um: Fix the declaration of vfree
The definition of vfree has changed since commit b3bdda02aa
("vmalloc: add const to void* parameters"). Update the declaration
of vfree in um_malloc.h to match the latest definition.
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
53471c5749
commit
0c2b208c8b
@ -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__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user