[PATCH 1/1] arch/um: fix forward declaration for vmalloc

Johannes Berg johannes at sipsolutions.net
Thu Mar 28 01:48:06 PDT 2024


On Tue, 2024-03-26 at 00:37 -0700, Suren Baghdasaryan wrote:
> 
> -extern void *vmalloc(unsigned long size);
> +extern void *vmalloc_noprof(unsigned long size);
> +#define vmalloc(...)		vmalloc_noprof(__VA_ARGS__)
> 

I was confused a bit by the define at first, but that's because this is
a user-side header file.

Reviewed-by: Johannes Berg <johannes at sipsolutions.net

johannes



More information about the linux-um mailing list