aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-gimple-pass.h
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2018-09-06 22:57:56 +0100
committerPalmer Dabbelt <palmer@sifive.com>2018-09-24 13:12:27 -0700
commit57a489786de9ec37d6e25ef1305dc337047f0236 (patch)
treeb2b2698e7d7dd48a727be902dc74f4446390a388 /scripts/gcc-plugins/gcc-generate-gimple-pass.h
parent6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84 (diff)
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 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions