Re: [PATCH] perf: arm_spe: include linux/vmalloc.h for vmap()

2018-02-22 Thread Mark Rutland
On Thu, Feb 22, 2018 at 12:47:05PM +0100, Arnd Bergmann wrote: > On linux-next, I get a build failure in some configurations: > > drivers/perf/arm_spe_pmu.c: In function 'arm_spe_pmu_setup_aux': > drivers/perf/arm_spe_pmu.c:857:14: error: implicit declaration of function > 'vmap'; did you mean 's

Re: [PATCH] perf: arm_spe: include linux/vmalloc.h for vmap()

2018-02-22 Thread Will Deacon
On Thu, Feb 22, 2018 at 12:47:05PM +0100, Arnd Bergmann wrote: > On linux-next, I get a build failure in some configurations: > > drivers/perf/arm_spe_pmu.c: In function 'arm_spe_pmu_setup_aux': > drivers/perf/arm_spe_pmu.c:857:14: error: implicit declaration of function > 'vmap'; did you mean 's

[PATCH] perf: arm_spe: include linux/vmalloc.h for vmap()

2018-02-22 Thread Arnd Bergmann
On linux-next, I get a build failure in some configurations: drivers/perf/arm_spe_pmu.c: In function 'arm_spe_pmu_setup_aux': drivers/perf/arm_spe_pmu.c:857:14: error: implicit declaration of function 'vmap'; did you mean 'swap'? [-Werror=implicit-function-declaration] buf->base = vmap(pglist,