OSDN Git Service

coresight: include vmalloc.h for vmap/vunmap
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jul 2018 19:40:25 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2018 11:52:57 +0000 (13:52 +0200)
commita748ddd1132c79888390934216ef428e0b2f0ea8
treef23f6ff39d7202b930bdd82b0a5e058853fc503d
parentc34cc23f1dcb77c66b5cd074f83dee61bfcbe567
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 <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-tmc-etr.c