Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • arch
  • riscv
  • kernel
  • stacktrace.c
Find file BlameHistoryPermalink
  • Guenter Roeck's avatar
    RISC-V: stacktrace: Declare sp_in_global outside ifdef · af2bdf82
    Guenter Roeck authored Apr 13, 2020
    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: 52e7c52d
    
     ("RISC-V: Stop relying on GCC's register allocator's hueristics")
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Reviewed-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
    Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
    af2bdf82
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7