Skip to content

Delete new __cpuinit users and then delete stubs

Paul Gortmaker linux-arm-kernel linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11sched/core: remove __cpuinit section tag that crept back in.kernel/sched/core.c+1 -10 replies
2/11arm/mach-keystone: remove legacy __cpuinit sections that crept inarch/arm/mach-keystone/platsmp.c+2 -24 replies
3/11arm/mach-mvebu: remove legacy __cpuinit sections that crept inarch/arm/mach-mvebu/headsmp-a9.S arch/arm/mach-mvebu/platsmp-a9.c+1 -41 reply
4/11arm/mach-rockchip: remove legacy __cpuinit section that crept inarch/arm/mach-rockchip/platsmp.c+1 -20 replies
5/11arm/mach-hisi: remove legacy __CPUINIT section that crept inarch/arm/mach-hisi/headsmp.S+0 -30 replies
6/11mips/ath25: remove legacy __cpuinit section that crept inarch/mips/ath25/board.c+1 -11 reply
7/11mips/bcm77xx: remove legacy __cpuinit sections that crept inarch/mips/bcm47xx/prom.c arch/mips/include/asm/pgtable-32.h arch/mips/mm/tlb-r4k.c+3 -30 replies
8/11mips/c-r4k: remove legacy __cpuinit section that crept inarch/mips/mm/c-r4k.c+1 -10 replies
9/11kernel/cpu.c: remove new instance of __cpuinit that crept back inkernel/cpu.c+1 -12 replies
10/11mips/mm/tlbex: remove new instance of __cpuinit that crept back inarch/mips/mm/tlbex.c+1 -10 replies
11/11init: delete the __cpuinit related stubsinclude/linux/init.h scripts/tags.sh+1 -120 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchSergey RyazanovGregory CLEMENT
1/11
2/11
3/11A-b
4/11
5/11
6/11A-b
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] Delete new __cpuinit users and then delete stubs

We removed the __cpuinit stuff in 3.11-rc1 with commit 22f0a27367742f65130c0fb25ef00f7297e032c1 ("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 this might as well stay together as a series. I'll feed it into linux-next once I've sent out some other pending cleanups that need to get coverage there as well.

Paul.

---

Cc linux-arm-kernel at lists.infradead.org
Cc linux-mips at linux-mips.org

Paul Gortmaker (11):
sched/core: remove __cpuinit section tag that crept back in. arm/mach-keystone: remove legacy __cpuinit sections that crept in arm/mach-mvebu: remove legacy __cpuinit sections that crept in arm/mach-rockchip: remove legacy __cpuinit section that crept in arm/mach-hisi: remove legacy __CPUINIT section that crept in mips/ath25: remove legacy __cpuinit section that crept in mips/bcm77xx: remove legacy __cpuinit sections that crept in mips/c-r4k: remove legacy __cpuinit section that crept in kernel/cpu.c: remove new instance of __cpuinit that crept back in mips/mm/tlbex: remove new instance of __cpuinit that crept back in
init: delete the __cpuinit related stubs

 arch/arm/mach-hisi/headsmp.S       |  3 ---
 arch/arm/mach-keystone/platsmp.c   |  4 ++--
 arch/arm/mach-mvebu/headsmp-a9.S   |  3 ---
 arch/arm/mach-mvebu/platsmp-a9.c   |  2 +-
 arch/arm/mach-rockchip/platsmp.c   |  3 +--
 arch/mips/ath25/board.c            |  2 +-
 arch/mips/bcm47xx/prom.c           |  2 +-
 arch/mips/include/asm/pgtable-32.h |  2 +-
 arch/mips/mm/c-r4k.c               |  2 +-
 arch/mips/mm/tlb-r4k.c             |  2 +-
 arch/mips/mm/tlbex.c               |  2 +-
 include/linux/init.h               | 11 -----------
 kernel/cpu.c                       |  2 +-
 kernel/sched/core.c                |  2 +-
 scripts/tags.sh                    |  2 +-
 15 files changed, 13 insertions(+), 31 deletions(-)
Signature · 1 line
2.2.1