summary refs log tree commit diff
path: root/tools/scripts
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2020-04-13 09:12:34 -0700
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-04-21 10:50:45 -0700
commitaf2bdf828f7963fd139ea8c5e23fd2c4e0dfca97 (patch)
tree6507519376eb18f6ad1c3a641cfbaf67df241da8 /tools/scripts
parentae83d0b416db002fe95601e7f97f64b59514d936 (diff)
downloadlinux-af2bdf828f7963fd139ea8c5e23fd2c4e0dfca97.tar.gz
RISC-V: stacktrace: Declare sp_in_global outside ifdef
riscv:allnoconfig and riscv:tinyconfig fail to compile.

arch/riscv/kernel/stacktrace.c: In function 'walk_stackframe':
arch/riscv/kernel/stacktrace.c:78:8: error: 'sp_in_global' undeclared

sp_in_global is declared inside CONFIG_FRAME_POINTER but used outside
of it.

Fixes: 52e7c52d2ded ("RISC-V: Stop relying on GCC's register allocator's hueristics")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions