Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d39dcd76 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Yabin Cui
Browse files

UPSTREAM: 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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(Upstream commit a748ddd1132c79888390934216ef428e0b2f0ea8).

Bug: 140266694
Change-Id: I0a65ed05483ab6607c94dd43f048538854ba4e72
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 1eb28677
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment