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
  • scripts
  • mod
  • modpost.c
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    init/modpost: conditionally check section mismatch to __meminit* · 73db3abd
    Masahiro Yamada authored Jul 07, 2024
    This reverts commit eb8f6890 ("Use separate sections for __dev/
    _cpu/__mem code/data").
    
    Check section mismatch to __meminit* only when CONFIG_MEMORY_HOTPLUG=n.
    
    With this change, the linker script and modpost become simpler, and we
    can get rid of the __ref annotations from the memory hotplug code.
    
    [sfr@canb.auug.org.au: remove MEM_KEEP from arch/powerpc/kernel/vmlinux.lds.S]
      Link: https://lkml.kernel.org/r/20240710093213.2aefb25f@canb.auug.org.au
    Link: https://lkml.kernel.org/r/20240706160511.2331061-2-masahiroy@kernel.org
    
    
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Reviewed-by: default avatarWei Yang <richard.weiyang@gmail.com>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    73db3abd
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7