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
  • powerpc
  • include
  • asm
  • code-patching.h
Find file BlameHistoryPermalink
  • Christophe Leroy's avatar
    powerpc: Move and rename func_descr_t · 5b23cb8c
    Christophe Leroy authored Feb 15, 2022
    
    
    There are three architectures with function descriptors, try to
    have common names for the address they contain in order to
    refactor some functions into generic functions later.
    
    powerpc has 'entry'
    ia64 has 'ip'
    parisc has 'addr'
    
    Vote for 'addr' and update 'func_descr_t' accordingly.
    
    Move it in asm/elf.h to have it at the same place on all
    three architectures, remove the typedef which hides its real
    type, and change it to a smoother name 'struct func_desc'.
    
    Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
    Reviewed-by: default avatarNicholas Piggin <npiggin@gmail.com>
    Reviewed-by: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Link: https://lore.kernel.org/r/529b2ba1d001e8f628ef0d30e8044c9b3d0a4921.1644928018.git.christophe.leroy@csgroup.eu
    5b23cb8c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7