]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: stacktrace: Fix undefined reference to `walk_stackframe'
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 11 May 2020 02:19:53 +0000 (10:19 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 13 May 2020 00:04:25 +0000 (17:04 -0700)
commitacab6b36610fe756e8ea4e6049cac3f7381ff050
treee33a23c6f7b538e17e4dea0a0ce6251409d65380
parent189a249882899f003a1947ea0779bf92d8092a0f
riscv: stacktrace: Fix undefined reference to `walk_stackframe'

Drop static declaration to fix following build error if FRAME_POINTER disabled,
  riscv64-linux-ld: arch/riscv/kernel/perf_callchain.o: in function `.L0':
  perf_callchain.c:(.text+0x2b8): undefined reference to `walk_stackframe'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/stacktrace.c