From: Arnd Bergmann Date: Wed, 11 Jul 2018 19:40:25 +0000 (-0600) Subject: coresight: include vmalloc.h for vmap/vunmap X-Git-Tag: microblaze-v5.0-rc1~573^2~102 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=a748ddd1132c79888390934216ef428e0b2f0ea8;p=linux-2.6-microblaze.git coresight: include vmalloc.h for vmap/vunmap The newly introduced code fails to build in some configurations unless we include the right headers: drivers/hwtracing/coresight/coresight-tmc-etr.c: In function 'tmc_free_table_pages': drivers/hwtracing/coresight/coresight-tmc-etr.c:206:3: error: implicit declaration of function 'vunmap'; did you mean 'iounmap'? [-Werror=implicit-function-declaration] Fixes: 79613ae8715a ("coresight: Add generic TMC sg table framework") Signed-off-by: Arnd Bergmann Signed-off-by: Mathieu Poirier Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hwtracing/coresight/coresight-tmc-etr.c b/drivers/hwtracing/coresight/coresight-tmc-etr.c index 6164eed0b5fe..3556d9a849e9 100644 --- a/drivers/hwtracing/coresight/coresight-tmc-etr.c +++ b/drivers/hwtracing/coresight/coresight-tmc-etr.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "coresight-priv.h" #include "coresight-tmc.h"