diff options
author | James Cowgill <jcowgill@debian.org> | 2018-09-06 23:57:56 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-09-24 22:12:27 +0200 |
commit | 57a489786de9ec37d6e25ef1305dc337047f0236 (patch) | |
tree | b2b2698e7d7dd48a727be902dc74f4446390a388 /drivers/gpu/drm/amd/amdgpu/iceland_ih.c | |
parent | Linux 4.19-rc5 (diff) | |
download | linux-57a489786de9ec37d6e25ef1305dc337047f0236.tar.xz linux-57a489786de9ec37d6e25ef1305dc337047f0236.zip |
RISC-V: include linux/ftrace.h in asm-prototypes.h
Building a riscv kernel with CONFIG_FUNCTION_TRACER and
CONFIG_MODVERSIONS enabled results in these two warnings:
MODPOST vmlinux.o
WARNING: EXPORT symbol "return_to_handler" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned.
When exporting symbols from an assembly file, the MODVERSIONS code
requires their prototypes to be defined in asm-prototypes.h (see
scripts/Makefile.build). Since both of these symbols have prototypes
defined in linux/ftrace.h, include this header from RISC-V's
asm-prototypes.h.
Reported-by: Karsten Merker <merker@debian.org>
Signed-off-by: James Cowgill <jcowgill@debian.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/iceland_ih.c')
0 files changed, 0 insertions, 0 deletions