• Linus Torvalds's avatar
    Merge tag 'cpuinit-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux · 47f92418
    Linus Torvalds authored
    Pull __cpuinit removal from Paul Gortmaker:
     "Remove __cpuinit macros and users.
    
      We removed the __cpuinit stuff in 3.11-rc1 with commit 22f0a273
      ("init.h: remove __cpuinit sections from the kernel") but we left some
      no-op stubs as a courtesy to unmerged code.
    
      Here we get rid of the stubs as well, since (as can be seen in these
      changes) they are enabling use cases to sneak back in, primarily from
      older BSP code that has been living out of tree for some time prior to
      getting mainlined.  So we get rid of these "new" users 1st and then
      get rid of the stubs.
    
      Obviously, getting rid of the stubs can't happen until all the users
      are gone, so I had to keep this together as a series, even though some
      of these commits since got picked up into maintainers trees as well.
    
      The nature of this change is such that it should have zero impact on
      the generated runtime.
    
      This is one of several independent cleanup branches aimed at enabling
      better organization in the init.h and module.h code.  They have been
      getting coverage in the linux-next tree for the last month, in
      addition to my local testing, which also covers approximately a half
      dozen or more architectures"
    
    * tag 'cpuinit-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
      init: delete the __cpuinit related stubs
      kernel/cpu.c: remove new instance of __cpuinit that crept back in
      sched/core: remove __cpuinit section tag that crept back in.
      mips/mm/tlbex: remove new instance of __cpuinit that crept back in
      mips/c-r4k: remove legacy __cpuinit section that crept in
      mips/bcm77xx: remove legacy __cpuinit sections that crept in
      mips/ath25: remove legacy __cpuinit section that crept in
      arm/mach-hisi: remove legacy __CPUINIT section that crept in
      arm/mach-rockchip: remove legacy __cpuinit section that crept in
      arm/mach-mvebu: remove legacy __cpuinit sections that crept in
      arm/mach-keystone: remove legacy __cpuinit sections that crept in
    47f92418
platsmp.c 8.1 KB