linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-next 00/32] Delete support for __cpuinit
@ 2013-06-24 19:30 Paul Gortmaker
  2013-06-24 19:30 ` [PATCH 04/32] powerpc: delete __cpuinit usage from all users Paul Gortmaker
  2013-06-24 20:00 ` [PATCH-next 00/32] Delete support for __cpuinit Paul Gortmaker
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Gortmaker @ 2013-06-24 19:30 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-m32r-ja, x86, linux-sh, Viresh Kumar, linux, H. Peter Anvin,
	Will Deacon, David Howells, Paul Gortmaker, James Hogan,
	Paul Mackerras, Helge Deller, sparclinux, linux-ia64, netdev,
	Sonic Zhang, Josh Triplett, Jonas Bonn, linux-s390,
	Jesper Nilsson, Russell King, Max Filippov, linux-hexagon,
	Hirokazu Takata, linux-pm, cpufreq, lm-sensors, linux-acpi,
	Ingo Molnar, Lennox Wu, Catalin Marinas, Matt Turner,
	Paul E. McKenney, Len Brown, Fenghua Yu, Bob Liu, Mike Frysinger,
	Arnd Bergmann, Chris Zankel, Heiko Carstens, linux-xtensa,
	Rusty Russell, Chris Metcalf, Mikael Starvik, linux-m32r,
	Ivan Kokshaysky, uclinux-dist-devel, Thomas Gleixner,
	linux-arm-kernel, Richard Henderson, Jens Axboe,
	Rafael J. Wysocki, Tony Luck, linux-parisc, linux-cris-kernel,
	Chen Liqin, Greg Kroah-Hartman, linux390, Richard Kuo, Paul Mundt,
	Vineet Gupta, Martin Schwidefsky, John Stultz, linuxppc-dev,
	David S. Miller

This is the whole patch queue for removal of __cpuinit support
against the latest linux-next tree (Jun24th).  Some of you may
have already seen chunks of it, or already read the logistics
of what is being done (and why) here:

  https://lkml.org/lkml/2013/6/20/513

I won't repeat all that here again, other than to say this send
is to ensure arch/subsystem maintainers get a 2nd chance to know
what is going on and to look at what is being proposed for their
area of code.  That, and to ensure one complete continuous copy
of it gets mailed out.  You can also see the patch queue here:

  http://git.kernel.org/cgit/linux/kernel/git/paulg/cpuinit-delete.git

If you've noticed that a chunk for MIPS isn't present here, that
is because it has already been queued in the linux-mips for-next
branch.

Thanks,
Paul.

---
Cc: Len Brown <lenb@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Bob Liu <lliubbo@gmail.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Helge Deller <deller@gmx.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Josh Boyer <jwboyer@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Josh Triplett <josh@freedesktop.org>
Cc: Dipankar Sarma <dipankar@in.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-acpi@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: uclinux-dist-devel@blackfin.uclinux.org
Cc: cpufreq@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-cris-kernel@axis.com
Cc: linux-hexagon@vger.kernel.org
Cc: lm-sensors@lm-sensors.org
Cc: linux-ia64@vger.kernel.org
Cc: linux-m32r@ml.linux-m32r.org
Cc: linux-m32r-ja@ml.linux-m32r.org
Cc: netdev@vger.kernel.org
Cc: linux@lists.openrisc.net
Cc: linux-parisc@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
Cc: linux-sh@vger.kernel.org
Cc: sparclinux@vger.kernel.org
Cc: x86@kernel.org
Cc: linux-xtensa@linux-xtensa.org

Paul Gortmaker (32):
  init.h: remove __cpuinit sections from the kernel
  modpost: remove all traces of cpuinit/cpuexit sections
  alpha: delete __cpuinit usage from all users
  powerpc: delete __cpuinit usage from all users
  parisc: delete __cpuinit usage from all users
  ia64: delete __cpuinit usage from all ia64 users
  arm: delete __cpuinit/__CPUINIT usage from all ARM users
  sparc: delete __cpuinit/__CPUINIT usage from all users
  arm64: delete __cpuinit usage from all users
  arc: delete __cpuinit usage from all arc files
  blackfin: delete __cpuinit usage from all blackfin files
  s390: delete __cpuinit usage from all s390 files
  sh: delete __cpuinit usage from all sh files
  tile: delete __cpuinit usage from all tile files
  metag: delete __cpuinit usage from all metag files
  cris: delete __cpuinit usage from all cris files
  frv: delete __cpuinit usage from all frv files
  hexagon: delete __cpuinit usage from all hexagon files
  m32r: delete __cpuinit usage from all m32r files
  openrisc: delete __cpuinit usage from all openrisc files
  xtensa: delete __cpuinit usage from all xtensa files
  score: delete __cpuinit usage from all score files
  x86: delete __cpuinit usage from all x86 files
  clocksource+irqchip: delete __cpuinit usage from all related files
  cpufreq: delete __cpuinit usage from all cpufreq files
  hwmon: delete __cpuinit usage from all hwmon files
  acpi: delete __cpuinit usage from all acpi files
  net: delete __cpuinit usage from all net files
  rcu: delete __cpuinit usage from all rcu files
  kernel: delete __cpuinit usage from all core kernel files
  drivers: delete __cpuinit usage from all remaining drivers files
  block: delete __cpuinit usage from all block files

 Documentation/cpu-hotplug.txt                 |  6 +--
 arch/alpha/kernel/smp.c                       | 10 ++---
 arch/alpha/kernel/traps.c                     |  4 +-
 arch/arc/include/asm/irq.h                    |  2 +-
 arch/arc/kernel/irq.c                         |  2 +-
 arch/arc/kernel/setup.c                       | 10 ++---
 arch/arc/kernel/smp.c                         |  4 +-
 arch/arc/kernel/time.c                        |  6 +--
 arch/arc/mm/cache_arc700.c                    |  4 +-
 arch/arc/mm/tlb.c                             |  4 +-
 arch/arm/common/mcpm_platsmp.c                |  4 +-
 arch/arm/include/asm/arch_timer.h             |  2 +-
 arch/arm/kernel/head-common.S                 |  1 -
 arch/arm/kernel/head.S                        |  1 -
 arch/arm/kernel/hw_breakpoint.c               |  4 +-
 arch/arm/kernel/perf_event_cpu.c              |  6 +--
 arch/arm/kernel/psci_smp.c                    |  3 +-
 arch/arm/kernel/smp.c                         | 18 ++++----
 arch/arm/kernel/smp_twd.c                     |  6 +--
 arch/arm/lib/delay.c                          |  2 +-
 arch/arm/mach-exynos/headsmp.S                |  2 -
 arch/arm/mach-exynos/platsmp.c                |  4 +-
 arch/arm/mach-highbank/platsmp.c              |  2 +-
 arch/arm/mach-imx/platsmp.c                   |  2 +-
 arch/arm/mach-msm/headsmp.S                   |  2 -
 arch/arm/mach-msm/platsmp.c                   |  6 +--
 arch/arm/mach-msm/timer.c                     |  4 +-
 arch/arm/mach-mvebu/coherency.c               |  2 +-
 arch/arm/mach-mvebu/headsmp.S                 |  2 -
 arch/arm/mach-mvebu/platsmp.c                 |  5 +--
 arch/arm/mach-omap2/omap-headsmp.S            |  2 -
 arch/arm/mach-omap2/omap-mpuss-lowpower.c     |  2 +-
 arch/arm/mach-omap2/omap-smp.c                |  4 +-
 arch/arm/mach-omap2/omap-wakeupgen.c          |  4 +-
 arch/arm/mach-prima2/headsmp.S                |  2 -
 arch/arm/mach-prima2/platsmp.c                |  4 +-
 arch/arm/mach-shmobile/headsmp-scu.S          |  1 -
 arch/arm/mach-shmobile/headsmp.S              |  2 -
 arch/arm/mach-shmobile/smp-emev2.c            |  2 +-
 arch/arm/mach-shmobile/smp-r8a7779.c          |  2 +-
 arch/arm/mach-shmobile/smp-sh73a0.c           |  2 +-
 arch/arm/mach-socfpga/headsmp.S               |  1 -
 arch/arm/mach-socfpga/platsmp.c               |  2 +-
 arch/arm/mach-spear/generic.h                 |  2 +-
 arch/arm/mach-spear/platsmp.c                 |  4 +-
 arch/arm/mach-tegra/platsmp.c                 |  4 +-
 arch/arm/mach-tegra/pm.c                      |  2 +-
 arch/arm/mach-ux500/platsmp.c                 |  4 +-
 arch/arm/mach-zynq/common.h                   |  2 +-
 arch/arm/mach-zynq/headsmp.S                  |  2 -
 arch/arm/mach-zynq/platsmp.c                  |  6 +--
 arch/arm/mm/proc-arm1020.S                    |  2 -
 arch/arm/mm/proc-arm1020e.S                   |  2 -
 arch/arm/mm/proc-arm1022.S                    |  2 -
 arch/arm/mm/proc-arm1026.S                    |  3 --
 arch/arm/mm/proc-arm720.S                     |  2 -
 arch/arm/mm/proc-arm740.S                     |  2 -
 arch/arm/mm/proc-arm7tdmi.S                   |  2 -
 arch/arm/mm/proc-arm920.S                     |  2 -
 arch/arm/mm/proc-arm922.S                     |  2 -
 arch/arm/mm/proc-arm925.S                     |  2 -
 arch/arm/mm/proc-arm926.S                     |  2 -
 arch/arm/mm/proc-arm940.S                     |  2 -
 arch/arm/mm/proc-arm946.S                     |  2 -
 arch/arm/mm/proc-arm9tdmi.S                   |  2 -
 arch/arm/mm/proc-fa526.S                      |  2 -
 arch/arm/mm/proc-feroceon.S                   |  2 -
 arch/arm/mm/proc-mohawk.S                     |  2 -
 arch/arm/mm/proc-sa110.S                      |  2 -
 arch/arm/mm/proc-sa1100.S                     |  2 -
 arch/arm/mm/proc-v6.S                         |  2 -
 arch/arm/mm/proc-v7-2level.S                  |  4 --
 arch/arm/mm/proc-v7-3level.S                  |  4 --
 arch/arm/mm/proc-v7.S                         |  2 -
 arch/arm/mm/proc-xsc3.S                       |  2 -
 arch/arm/mm/proc-xscale.S                     |  2 -
 arch/arm/plat-versatile/platsmp.c             |  6 +--
 arch/arm64/include/asm/arch_timer.h           |  2 +-
 arch/arm64/kernel/debug-monitors.c            |  6 +--
 arch/arm64/kernel/hw_breakpoint.c             |  4 +-
 arch/arm64/kernel/smp.c                       |  8 ++--
 arch/blackfin/kernel/perf_event.c             |  2 +-
 arch/blackfin/kernel/setup.c                  |  4 +-
 arch/blackfin/mach-bf561/smp.c                |  6 +--
 arch/blackfin/mach-common/cache-c.c           |  4 +-
 arch/blackfin/mach-common/ints-priority.c     |  2 +-
 arch/blackfin/mach-common/smp.c               |  8 ++--
 arch/cris/arch-v32/kernel/smp.c               |  2 +-
 arch/frv/kernel/setup.c                       |  2 +-
 arch/hexagon/kernel/setup.c                   |  2 +-
 arch/hexagon/kernel/smp.c                     |  4 +-
 arch/ia64/kernel/acpi.c                       |  4 +-
 arch/ia64/kernel/err_inject.c                 |  8 ++--
 arch/ia64/kernel/mca.c                        | 12 ++---
 arch/ia64/kernel/numa.c                       |  4 +-
 arch/ia64/kernel/palinfo.c                    |  4 +-
 arch/ia64/kernel/salinfo.c                    |  4 +-
 arch/ia64/kernel/setup.c                      | 10 ++---
 arch/ia64/kernel/smpboot.c                    |  8 ++--
 arch/ia64/kernel/topology.c                   | 18 ++++----
 arch/ia64/mm/contig.c                         |  3 +-
 arch/ia64/mm/discontig.c                      |  2 +-
 arch/ia64/mm/numa.c                           |  2 +-
 arch/ia64/sn/kernel/setup.c                   |  8 ++--
 arch/ia64/xen/hypervisor.c                    |  2 +-
 arch/m32r/kernel/smpboot.c                    |  2 +-
 arch/metag/kernel/perf/perf_event.c           |  6 +--
 arch/metag/kernel/smp.c                       | 16 +++----
 arch/metag/kernel/traps.c                     |  2 +-
 arch/openrisc/kernel/setup.c                  |  2 +-
 arch/parisc/kernel/firmware.c                 | 14 +++---
 arch/parisc/kernel/hardware.c                 |  2 +-
 arch/parisc/kernel/processor.c                |  6 +--
 arch/parisc/kernel/smp.c                      |  8 ++--
 arch/powerpc/include/asm/rtas.h               |  4 +-
 arch/powerpc/include/asm/vdso.h               |  2 +-
 arch/powerpc/kernel/cacheinfo.c               | 36 ++++++++-------
 arch/powerpc/kernel/rtas.c                    |  4 +-
 arch/powerpc/kernel/smp.c                     |  4 +-
 arch/powerpc/kernel/sysfs.c                   |  6 +--
 arch/powerpc/kernel/time.c                    |  1 -
 arch/powerpc/kernel/vdso.c                    |  2 +-
 arch/powerpc/mm/44x_mmu.c                     |  6 +--
 arch/powerpc/mm/hash_utils_64.c               |  2 +-
 arch/powerpc/mm/mmu_context_nohash.c          |  6 +--
 arch/powerpc/mm/numa.c                        |  7 ++-
 arch/powerpc/mm/tlb_nohash.c                  |  2 +-
 arch/powerpc/perf/core-book3s.c               |  4 +-
 arch/powerpc/platforms/44x/currituck.c        |  4 +-
 arch/powerpc/platforms/44x/iss4xx.c           |  4 +-
 arch/powerpc/platforms/85xx/smp.c             |  6 +--
 arch/powerpc/platforms/powermac/smp.c         |  2 +-
 arch/powerpc/platforms/powernv/smp.c          |  2 +-
 arch/s390/kernel/cache.c                      | 15 +++----
 arch/s390/kernel/perf_cpum_cf.c               |  4 +-
 arch/s390/kernel/processor.c                  |  2 +-
 arch/s390/kernel/smp.c                        | 17 ++++---
 arch/s390/kernel/sysinfo.c                    |  2 +-
 arch/s390/kernel/vtime.c                      |  6 +--
 arch/s390/mm/fault.c                          |  4 +-
 arch/score/mm/tlb-score.c                     |  2 +-
 arch/sh/kernel/cpu/init.c                     | 18 ++++----
 arch/sh/kernel/cpu/sh2/probe.c                |  2 +-
 arch/sh/kernel/cpu/sh2a/probe.c               |  2 +-
 arch/sh/kernel/cpu/sh3/probe.c                |  2 +-
 arch/sh/kernel/cpu/sh4/probe.c                |  2 +-
 arch/sh/kernel/cpu/sh4a/smp-shx3.c            |  6 +--
 arch/sh/kernel/cpu/sh5/probe.c                |  2 +-
 arch/sh/kernel/perf_event.c                   |  4 +-
 arch/sh/kernel/process.c                      |  2 +-
 arch/sh/kernel/setup.c                        |  2 +-
 arch/sh/kernel/smp.c                          |  8 ++--
 arch/sh/kernel/traps_32.c                     |  2 +-
 arch/sh/kernel/traps_64.c                     |  2 +-
 arch/sh/mm/tlb-sh5.c                          |  2 +-
 arch/sparc/kernel/ds.c                        | 11 ++---
 arch/sparc/kernel/entry.h                     |  2 +-
 arch/sparc/kernel/hvtramp.S                   |  1 -
 arch/sparc/kernel/irq_64.c                    |  5 ++-
 arch/sparc/kernel/leon_smp.c                  | 10 ++---
 arch/sparc/kernel/mdesc.c                     | 34 +++++++-------
 arch/sparc/kernel/smp_32.c                    | 20 ++++-----
 arch/sparc/kernel/smp_64.c                    |  9 ++--
 arch/sparc/kernel/sun4d_smp.c                 |  6 +--
 arch/sparc/kernel/sun4m_smp.c                 |  6 +--
 arch/sparc/kernel/sysfs.c                     |  4 +-
 arch/sparc/kernel/trampoline_32.S             |  3 --
 arch/sparc/kernel/trampoline_64.S             |  2 -
 arch/sparc/mm/init_64.c                       |  2 +-
 arch/sparc/mm/srmmu.c                         | 12 ++---
 arch/tile/kernel/irq.c                        |  2 +-
 arch/tile/kernel/messaging.c                  |  2 +-
 arch/tile/kernel/setup.c                      | 12 ++---
 arch/tile/kernel/smpboot.c                    |  8 ++--
 arch/tile/kernel/time.c                       |  2 +-
 arch/x86/include/asm/cpu.h                    |  2 +-
 arch/x86/include/asm/microcode.h              |  4 +-
 arch/x86/include/asm/microcode_intel.h        |  4 +-
 arch/x86/include/asm/mmconfig.h               |  4 +-
 arch/x86/include/asm/mpspec.h                 |  2 +-
 arch/x86/include/asm/numa.h                   |  6 +--
 arch/x86/include/asm/prom.h                   |  2 +-
 arch/x86/include/asm/smp.h                    |  2 +-
 arch/x86/kernel/acpi/boot.c                   |  6 +--
 arch/x86/kernel/apic/apic.c                   | 30 ++++++-------
 arch/x86/kernel/apic/apic_numachip.c          |  2 +-
 arch/x86/kernel/apic/es7000_32.c              |  2 +-
 arch/x86/kernel/apic/numaq_32.c               |  2 +-
 arch/x86/kernel/apic/x2apic_cluster.c         |  2 +-
 arch/x86/kernel/apic/x2apic_uv_x.c            | 14 +++---
 arch/x86/kernel/cpu/amd.c                     | 33 +++++++-------
 arch/x86/kernel/cpu/centaur.c                 | 26 +++++------
 arch/x86/kernel/cpu/common.c                  | 64 +++++++++++++--------------
 arch/x86/kernel/cpu/cyrix.c                   | 40 ++++++++---------
 arch/x86/kernel/cpu/hypervisor.c              |  2 +-
 arch/x86/kernel/cpu/intel.c                   | 30 ++++++-------
 arch/x86/kernel/cpu/intel_cacheinfo.c         | 55 +++++++++++------------
 arch/x86/kernel/cpu/mcheck/mce.c              | 23 +++++-----
 arch/x86/kernel/cpu/mcheck/mce_amd.c          | 14 +++---
 arch/x86/kernel/cpu/mcheck/therm_throt.c      |  9 ++--
 arch/x86/kernel/cpu/perf_event.c              |  2 +-
 arch/x86/kernel/cpu/perf_event_amd_ibs.c      |  2 +-
 arch/x86/kernel/cpu/perf_event_amd_uncore.c   | 31 +++++++------
 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 20 ++++-----
 arch/x86/kernel/cpu/rdrand.c                  |  2 +-
 arch/x86/kernel/cpu/scattered.c               |  4 +-
 arch/x86/kernel/cpu/topology.c                |  2 +-
 arch/x86/kernel/cpu/transmeta.c               |  6 +--
 arch/x86/kernel/cpu/umc.c                     |  2 +-
 arch/x86/kernel/cpu/vmware.c                  |  2 +-
 arch/x86/kernel/cpuid.c                       |  7 ++-
 arch/x86/kernel/devicetree.c                  |  2 +-
 arch/x86/kernel/head_32.S                     |  1 -
 arch/x86/kernel/i387.c                        |  8 ++--
 arch/x86/kernel/irq_32.c                      |  2 +-
 arch/x86/kernel/kvm.c                         | 10 ++---
 arch/x86/kernel/kvmclock.c                    |  2 +-
 arch/x86/kernel/microcode_core.c              |  2 +-
 arch/x86/kernel/microcode_core_early.c        |  6 +--
 arch/x86/kernel/microcode_intel_early.c       | 26 +++++------
 arch/x86/kernel/mmconf-fam10h_64.c            | 12 ++---
 arch/x86/kernel/msr.c                         |  6 +--
 arch/x86/kernel/process.c                     |  2 +-
 arch/x86/kernel/setup.c                       |  2 +-
 arch/x86/kernel/smpboot.c                     | 28 ++++++------
 arch/x86/kernel/tboot.c                       |  6 +--
 arch/x86/kernel/tsc.c                         |  4 +-
 arch/x86/kernel/tsc_sync.c                    | 18 ++++----
 arch/x86/kernel/vsyscall_64.c                 |  6 +--
 arch/x86/kernel/x86_init.c                    |  4 +-
 arch/x86/kernel/xsave.c                       |  4 +-
 arch/x86/mm/mmio-mod.c                        |  4 +-
 arch/x86/mm/numa.c                            | 12 ++---
 arch/x86/mm/numa_emulation.c                  | 12 ++---
 arch/x86/mm/setup_nx.c                        |  4 +-
 arch/x86/pci/amd_bus.c                        |  8 ++--
 arch/x86/platform/ce4100/ce4100.c             |  2 +-
 arch/x86/platform/mrst/mrst.c                 |  4 +-
 arch/x86/xen/enlighten.c                      |  6 +--
 arch/x86/xen/setup.c                          |  6 +--
 arch/x86/xen/smp.c                            | 12 ++---
 arch/x86/xen/spinlock.c                       |  2 +-
 arch/x86/xen/xen-ops.h                        |  2 +-
 arch/xtensa/kernel/time.c                     |  2 +-
 block/blk-iopoll.c                            |  6 +--
 block/blk-softirq.c                           |  6 +--
 drivers/acpi/acpi_processor.c                 |  2 +-
 drivers/acpi/processor_core.c                 |  8 ++--
 drivers/acpi/processor_driver.c               |  8 ++--
 drivers/acpi/processor_idle.c                 |  6 +--
 drivers/base/cpu.c                            |  2 +-
 drivers/base/topology.c                       | 10 ++---
 drivers/clocksource/arm_arch_timer.c          |  8 ++--
 drivers/clocksource/exynos_mct.c              |  4 +-
 drivers/clocksource/metag_generic.c           |  6 +--
 drivers/clocksource/time-armada-370-xp.c      |  4 +-
 drivers/clocksource/timer-marco.c             |  4 +-
 drivers/cpufreq/cpufreq.c                     |  4 +-
 drivers/cpufreq/cpufreq_stats.c               |  4 +-
 drivers/cpufreq/dbx500-cpufreq.c              |  2 +-
 drivers/cpufreq/intel_pstate.c                |  4 +-
 drivers/cpufreq/longhaul.c                    |  6 +--
 drivers/cpufreq/longhaul.h                    | 26 +++++------
 drivers/cpufreq/longrun.c                     |  8 ++--
 drivers/cpufreq/omap-cpufreq.c                |  2 +-
 drivers/cpufreq/powernow-k7.c                 |  8 ++--
 drivers/cpufreq/powernow-k8.c                 |  6 +--
 drivers/hwmon/coretemp.c                      | 39 ++++++++--------
 drivers/hwmon/via-cputemp.c                   |  8 ++--
 drivers/irqchip/irq-gic.c                     |  8 ++--
 drivers/oprofile/timer_int.c                  |  4 +-
 drivers/xen/xen-acpi-cpuhotplug.c             |  2 +-
 include/asm-generic/vmlinux.lds.h             | 12 -----
 include/linux/cpu.h                           |  2 +-
 include/linux/init.h                          | 19 ++++----
 include/linux/perf_event.h                    |  2 +-
 init/calibrate.c                              | 13 +++---
 kernel/cpu.c                                  |  6 +--
 kernel/events/core.c                          |  4 +-
 kernel/fork.c                                 |  2 +-
 kernel/hrtimer.c                              |  6 +--
 kernel/printk.c                               |  2 +-
 kernel/profile.c                              |  2 +-
 kernel/rcutorture.c                           |  6 +--
 kernel/rcutree.c                              |  6 +--
 kernel/rcutree.h                              |  4 +-
 kernel/rcutree_plugin.h                       |  6 +--
 kernel/relay.c                                |  2 +-
 kernel/sched/core.c                           | 12 ++---
 kernel/sched/fair.c                           |  2 +-
 kernel/smp.c                                  |  2 +-
 kernel/smpboot.c                              |  2 +-
 kernel/softirq.c                              |  8 ++--
 kernel/time/tick-sched.c                      |  2 +-
 kernel/timer.c                                | 10 ++---
 kernel/workqueue.c                            |  4 +-
 lib/Kconfig.debug                             |  2 +-
 lib/earlycpio.c                               |  2 +-
 lib/percpu_counter.c                          |  2 +-
 mm/memcontrol.c                               |  2 +-
 mm/page-writeback.c                           |  4 +-
 mm/slab.c                                     | 10 ++---
 mm/slub.c                                     |  4 +-
 mm/vmstat.c                                   |  6 +--
 net/core/flow.c                               |  4 +-
 net/iucv/iucv.c                               |  2 +-
 scripts/mod/modpost.c                         | 52 ++++------------------
 307 files changed, 896 insertions(+), 1037 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 04/32] powerpc: delete __cpuinit usage from all users
  2013-06-24 19:30 [PATCH-next 00/32] Delete support for __cpuinit Paul Gortmaker
@ 2013-06-24 19:30 ` Paul Gortmaker
  2013-06-24 20:00 ` [PATCH-next 00/32] Delete support for __cpuinit Paul Gortmaker
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2013-06-24 19:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Paul Mackerras, linuxppc-dev

The __cpuinit type of throwaway sections might have made sense
some time ago when RAM was more constrained, but now the savings
do not offset the cost and complications.  For example, the fix in
commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
is a good example of the nasty type of bugs that can be created
with improper use of the various __init prefixes.

After a discussion on LKML[1] it was decided that cpuinit should go
the way of devinit and be phased out.  Once all the users are gone,
we can then finally remove the macros themselves from linux/init.h.

This removes all the powerpc uses of the __cpuinit macros.  There
are no __CPUINIT users in assembly files in powerpc.

[1] https://lkml.org/lkml/2013/5/20/589

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Josh Boyer <jwboyer@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

[This commit is part of the __cpuinit removal work.  If you don't see
 any problems with it, then you don't have to do anything ; it will be
 submitted with all the rest of the __cpuinit removal work.  On the
 other hand, if you want to carry this patch in with your other pending
 changes so as to handle conflicts with other pending work yourself, then
 that is fine too, as the commits can largely be treated independently.
 For more information, please see: https://lkml.org/lkml/2013/6/20/513 ]

 arch/powerpc/include/asm/rtas.h        |  4 ++--
 arch/powerpc/include/asm/vdso.h        |  2 +-
 arch/powerpc/kernel/cacheinfo.c        | 36 ++++++++++++++++++++--------------
 arch/powerpc/kernel/rtas.c             |  4 ++--
 arch/powerpc/kernel/smp.c              |  4 ++--
 arch/powerpc/kernel/sysfs.c            |  6 +++---
 arch/powerpc/kernel/time.c             |  1 -
 arch/powerpc/kernel/vdso.c             |  2 +-
 arch/powerpc/mm/44x_mmu.c              |  6 +++---
 arch/powerpc/mm/hash_utils_64.c        |  2 +-
 arch/powerpc/mm/mmu_context_nohash.c   |  6 +++---
 arch/powerpc/mm/numa.c                 |  7 +++----
 arch/powerpc/mm/tlb_nohash.c           |  2 +-
 arch/powerpc/perf/core-book3s.c        |  4 ++--
 arch/powerpc/platforms/44x/currituck.c |  4 ++--
 arch/powerpc/platforms/44x/iss4xx.c    |  4 ++--
 arch/powerpc/platforms/85xx/smp.c      |  6 +++---
 arch/powerpc/platforms/powermac/smp.c  |  2 +-
 arch/powerpc/platforms/powernv/smp.c   |  2 +-
 19 files changed, 54 insertions(+), 50 deletions(-)

diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 34fd704..c7a8bfc 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -350,8 +350,8 @@ static inline u32 rtas_config_addr(int busno, int devfn, int reg)
 			(devfn << 8) | (reg & 0xff);
 }
 
-extern void __cpuinit rtas_give_timebase(void);
-extern void __cpuinit rtas_take_timebase(void);
+extern void rtas_give_timebase(void);
+extern void rtas_take_timebase(void);
 
 #ifdef CONFIG_PPC_RTAS
 static inline int page_is_rtas_user_buf(unsigned long pfn)
diff --git a/arch/powerpc/include/asm/vdso.h b/arch/powerpc/include/asm/vdso.h
index 50f261b..0d9cecd 100644
--- a/arch/powerpc/include/asm/vdso.h
+++ b/arch/powerpc/include/asm/vdso.h
@@ -22,7 +22,7 @@ extern unsigned long vdso64_rt_sigtramp;
 extern unsigned long vdso32_sigtramp;
 extern unsigned long vdso32_rt_sigtramp;
 
-int __cpuinit vdso_getcpu_init(void);
+int vdso_getcpu_init(void);
 
 #else /* __ASSEMBLY__ */
 
diff --git a/arch/powerpc/kernel/cacheinfo.c b/arch/powerpc/kernel/cacheinfo.c
index 92c6b00..9262cf2 100644
--- a/arch/powerpc/kernel/cacheinfo.c
+++ b/arch/powerpc/kernel/cacheinfo.c
@@ -131,7 +131,8 @@ static const char *cache_type_string(const struct cache *cache)
 	return cache_type_info[cache->type].name;
 }
 
-static void __cpuinit cache_init(struct cache *cache, int type, int level, struct device_node *ofnode)
+static void cache_init(struct cache *cache, int type, int level,
+		       struct device_node *ofnode)
 {
 	cache->type = type;
 	cache->level = level;
@@ -140,7 +141,7 @@ static void __cpuinit cache_init(struct cache *cache, int type, int level, struc
 	list_add(&cache->list, &cache_list);
 }
 
-static struct cache *__cpuinit new_cache(int type, int level, struct device_node *ofnode)
+static struct cache *new_cache(int type, int level, struct device_node *ofnode)
 {
 	struct cache *cache;
 
@@ -324,7 +325,8 @@ static bool cache_node_is_unified(const struct device_node *np)
 	return of_get_property(np, "cache-unified", NULL);
 }
 
-static struct cache *__cpuinit cache_do_one_devnode_unified(struct device_node *node, int level)
+static struct cache *cache_do_one_devnode_unified(struct device_node *node,
+						  int level)
 {
 	struct cache *cache;
 
@@ -335,7 +337,8 @@ static struct cache *__cpuinit cache_do_one_devnode_unified(struct device_node *
 	return cache;
 }
 
-static struct cache *__cpuinit cache_do_one_devnode_split(struct device_node *node, int level)
+static struct cache *cache_do_one_devnode_split(struct device_node *node,
+						int level)
 {
 	struct cache *dcache, *icache;
 
@@ -357,7 +360,7 @@ err:
 	return NULL;
 }
 
-static struct cache *__cpuinit cache_do_one_devnode(struct device_node *node, int level)
+static struct cache *cache_do_one_devnode(struct device_node *node, int level)
 {
 	struct cache *cache;
 
@@ -369,7 +372,8 @@ static struct cache *__cpuinit cache_do_one_devnode(struct device_node *node, in
 	return cache;
 }
 
-static struct cache *__cpuinit cache_lookup_or_instantiate(struct device_node *node, int level)
+static struct cache *cache_lookup_or_instantiate(struct device_node *node,
+						 int level)
 {
 	struct cache *cache;
 
@@ -385,7 +389,7 @@ static struct cache *__cpuinit cache_lookup_or_instantiate(struct device_node *n
 	return cache;
 }
 
-static void __cpuinit link_cache_lists(struct cache *smaller, struct cache *bigger)
+static void link_cache_lists(struct cache *smaller, struct cache *bigger)
 {
 	while (smaller->next_local) {
 		if (smaller->next_local == bigger)
@@ -396,13 +400,13 @@ static void __cpuinit link_cache_lists(struct cache *smaller, struct cache *bigg
 	smaller->next_local = bigger;
 }
 
-static void __cpuinit do_subsidiary_caches_debugcheck(struct cache *cache)
+static void do_subsidiary_caches_debugcheck(struct cache *cache)
 {
 	WARN_ON_ONCE(cache->level != 1);
 	WARN_ON_ONCE(strcmp(cache->ofnode->type, "cpu"));
 }
 
-static void __cpuinit do_subsidiary_caches(struct cache *cache)
+static void do_subsidiary_caches(struct cache *cache)
 {
 	struct device_node *subcache_node;
 	int level = cache->level;
@@ -423,7 +427,7 @@ static void __cpuinit do_subsidiary_caches(struct cache *cache)
 	}
 }
 
-static struct cache *__cpuinit cache_chain_instantiate(unsigned int cpu_id)
+static struct cache *cache_chain_instantiate(unsigned int cpu_id)
 {
 	struct device_node *cpu_node;
 	struct cache *cpu_cache = NULL;
@@ -448,7 +452,7 @@ out:
 	return cpu_cache;
 }
 
-static struct cache_dir *__cpuinit cacheinfo_create_cache_dir(unsigned int cpu_id)
+static struct cache_dir *cacheinfo_create_cache_dir(unsigned int cpu_id)
 {
 	struct cache_dir *cache_dir;
 	struct device *dev;
@@ -653,7 +657,7 @@ static struct kobj_type cache_index_type = {
 	.default_attrs = cache_index_default_attrs,
 };
 
-static void __cpuinit cacheinfo_create_index_opt_attrs(struct cache_index_dir *dir)
+static void cacheinfo_create_index_opt_attrs(struct cache_index_dir *dir)
 {
 	const char *cache_name;
 	const char *cache_type;
@@ -696,7 +700,8 @@ static void __cpuinit cacheinfo_create_index_opt_attrs(struct cache_index_dir *d
 	kfree(buf);
 }
 
-static void __cpuinit cacheinfo_create_index_dir(struct cache *cache, int index, struct cache_dir *cache_dir)
+static void cacheinfo_create_index_dir(struct cache *cache, int index,
+				       struct cache_dir *cache_dir)
 {
 	struct cache_index_dir *index_dir;
 	int rc;
@@ -722,7 +727,8 @@ err:
 	kfree(index_dir);
 }
 
-static void __cpuinit cacheinfo_sysfs_populate(unsigned int cpu_id, struct cache *cache_list)
+static void cacheinfo_sysfs_populate(unsigned int cpu_id,
+				     struct cache *cache_list)
 {
 	struct cache_dir *cache_dir;
 	struct cache *cache;
@@ -740,7 +746,7 @@ static void __cpuinit cacheinfo_sysfs_populate(unsigned int cpu_id, struct cache
 	}
 }
 
-void __cpuinit cacheinfo_cpu_online(unsigned int cpu_id)
+void cacheinfo_cpu_online(unsigned int cpu_id)
 {
 	struct cache *cache;
 
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index 52add6f..80b5ef4 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -1172,7 +1172,7 @@ int __init early_init_dt_scan_rtas(unsigned long node,
 static arch_spinlock_t timebase_lock;
 static u64 timebase = 0;
 
-void __cpuinit rtas_give_timebase(void)
+void rtas_give_timebase(void)
 {
 	unsigned long flags;
 
@@ -1189,7 +1189,7 @@ void __cpuinit rtas_give_timebase(void)
 	local_irq_restore(flags);
 }
 
-void __cpuinit rtas_take_timebase(void)
+void rtas_take_timebase(void)
 {
 	while (!timebase)
 		barrier();
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index ee7ac5e..85398c7 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -480,7 +480,7 @@ static void cpu_idle_thread_init(unsigned int cpu, struct task_struct *idle)
 	secondary_ti = current_set[cpu] = ti;
 }
 
-int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *tidle)
+int __cpu_up(unsigned int cpu, struct task_struct *tidle)
 {
 	int rc, c;
 
@@ -610,7 +610,7 @@ static struct device_node *cpu_to_l2cache(int cpu)
 }
 
 /* Activate a secondary processor. */
-__cpuinit void start_secondary(void *unused)
+void start_secondary(void *unused)
 {
 	unsigned int cpu = smp_processor_id();
 	struct device_node *l2_cache;
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c
index e68a845..27a90b9 100644
--- a/arch/powerpc/kernel/sysfs.c
+++ b/arch/powerpc/kernel/sysfs.c
@@ -341,7 +341,7 @@ static struct device_attribute pa6t_attrs[] = {
 #endif /* HAS_PPC_PMC_PA6T */
 #endif /* HAS_PPC_PMC_CLASSIC */
 
-static void __cpuinit register_cpu_online(unsigned int cpu)
+static void register_cpu_online(unsigned int cpu)
 {
 	struct cpu *c = &per_cpu(cpu_devices, cpu);
 	struct device *s = &c->dev;
@@ -502,7 +502,7 @@ ssize_t arch_cpu_release(const char *buf, size_t count)
 
 #endif /* CONFIG_HOTPLUG_CPU */
 
-static int __cpuinit sysfs_cpu_notify(struct notifier_block *self,
+static int sysfs_cpu_notify(struct notifier_block *self,
 				      unsigned long action, void *hcpu)
 {
 	unsigned int cpu = (unsigned int)(long)hcpu;
@@ -522,7 +522,7 @@ static int __cpuinit sysfs_cpu_notify(struct notifier_block *self,
 	return NOTIFY_OK;
 }
 
-static struct notifier_block __cpuinitdata sysfs_cpu_nb = {
+static struct notifier_block sysfs_cpu_nb = {
 	.notifier_call	= sysfs_cpu_notify,
 };
 
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 5fc29ad..65ab9e9 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -631,7 +631,6 @@ static int __init get_freq(char *name, int cells, unsigned long *val)
 	return found;
 }
 
-/* should become __cpuinit when secondary_cpu_time_init also is */
 void start_cpu_decrementer(void)
 {
 #if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index d4f463a..1d9c926 100644
--- a/arch/powerpc/kernel/vdso.c
+++ b/arch/powerpc/kernel/vdso.c
@@ -711,7 +711,7 @@ static void __init vdso_setup_syscall_map(void)
 }
 
 #ifdef CONFIG_PPC64
-int __cpuinit vdso_getcpu_init(void)
+int vdso_getcpu_init(void)
 {
 	unsigned long cpu, node, val;
 
diff --git a/arch/powerpc/mm/44x_mmu.c b/arch/powerpc/mm/44x_mmu.c
index 2c9441e..82b1ff7 100644
--- a/arch/powerpc/mm/44x_mmu.c
+++ b/arch/powerpc/mm/44x_mmu.c
@@ -41,7 +41,7 @@ int icache_44x_need_flush;
 
 unsigned long tlb_47x_boltmap[1024/8];
 
-static void __cpuinit ppc44x_update_tlb_hwater(void)
+static void ppc44x_update_tlb_hwater(void)
 {
 	extern unsigned int tlb_44x_patch_hwater_D[];
 	extern unsigned int tlb_44x_patch_hwater_I[];
@@ -134,7 +134,7 @@ static void __init ppc47x_update_boltmap(void)
 /*
  * "Pins" a 256MB TLB entry in AS0 for kernel lowmem for 47x type MMU
  */
-static void __cpuinit ppc47x_pin_tlb(unsigned int virt, unsigned int phys)
+static void ppc47x_pin_tlb(unsigned int virt, unsigned int phys)
 {
 	unsigned int rA;
 	int bolted;
@@ -229,7 +229,7 @@ void setup_initial_memory_limit(phys_addr_t first_memblock_base,
 }
 
 #ifdef CONFIG_SMP
-void __cpuinit mmu_init_secondary(int cpu)
+void mmu_init_secondary(int cpu)
 {
 	unsigned long addr;
 	unsigned long memstart = memstart_addr & ~(PPC_PIN_SIZE - 1);
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index e303a6d..4481172 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -807,7 +807,7 @@ void __init early_init_mmu(void)
 }
 
 #ifdef CONFIG_SMP
-void __cpuinit early_init_mmu_secondary(void)
+void early_init_mmu_secondary(void)
 {
 	/* Initialize hash table for that CPU */
 	if (!firmware_has_feature(FW_FEATURE_LPAR))
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c
index 810f8e4..af3d78e 100644
--- a/arch/powerpc/mm/mmu_context_nohash.c
+++ b/arch/powerpc/mm/mmu_context_nohash.c
@@ -332,8 +332,8 @@ void destroy_context(struct mm_struct *mm)
 
 #ifdef CONFIG_SMP
 
-static int __cpuinit mmu_context_cpu_notify(struct notifier_block *self,
-					    unsigned long action, void *hcpu)
+static int mmu_context_cpu_notify(struct notifier_block *self,
+				  unsigned long action, void *hcpu)
 {
 	unsigned int cpu = (unsigned int)(long)hcpu;
 
@@ -366,7 +366,7 @@ static int __cpuinit mmu_context_cpu_notify(struct notifier_block *self,
 	return NOTIFY_OK;
 }
 
-static struct notifier_block __cpuinitdata mmu_context_cpu_nb = {
+static struct notifier_block mmu_context_cpu_nb = {
 	.notifier_call	= mmu_context_cpu_notify,
 };
 
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 88c0425..c792cd9 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -516,7 +516,7 @@ static int of_drconf_to_nid_single(struct of_drconf_cell *drmem,
  * Figure out to which domain a cpu belongs and stick it there.
  * Return the id of the domain used.
  */
-static int __cpuinit numa_setup_cpu(unsigned long lcpu)
+static int numa_setup_cpu(unsigned long lcpu)
 {
 	int nid = 0;
 	struct device_node *cpu = of_get_cpu_node(lcpu, NULL);
@@ -538,8 +538,7 @@ out:
 	return nid;
 }
 
-static int __cpuinit cpu_numa_callback(struct notifier_block *nfb,
-			     unsigned long action,
+static int cpu_numa_callback(struct notifier_block *nfb, unsigned long action,
 			     void *hcpu)
 {
 	unsigned long lcpu = (unsigned long)hcpu;
@@ -919,7 +918,7 @@ static void __init *careful_zallocation(int nid, unsigned long size,
 	return ret;
 }
 
-static struct notifier_block __cpuinitdata ppc64_numa_nb = {
+static struct notifier_block ppc64_numa_nb = {
 	.notifier_call = cpu_numa_callback,
 	.priority = 1 /* Must run before sched domains notifier. */
 };
diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c
index 6888cad..41cd68d 100644
--- a/arch/powerpc/mm/tlb_nohash.c
+++ b/arch/powerpc/mm/tlb_nohash.c
@@ -648,7 +648,7 @@ void __init early_init_mmu(void)
 	__early_init_mmu(1);
 }
 
-void __cpuinit early_init_mmu_secondary(void)
+void early_init_mmu_secondary(void)
 {
 	__early_init_mmu(0);
 }
diff --git a/arch/powerpc/perf/core-book3s.c b/arch/powerpc/perf/core-book3s.c
index 29c6482..af94a71 100644
--- a/arch/powerpc/perf/core-book3s.c
+++ b/arch/powerpc/perf/core-book3s.c
@@ -1786,7 +1786,7 @@ static void power_pmu_setup(int cpu)
 	cpuhw->mmcr[0] = MMCR0_FC;
 }
 
-static int __cpuinit
+static int
 power_pmu_notifier(struct notifier_block *self, unsigned long action, void *hcpu)
 {
 	unsigned int cpu = (long)hcpu;
@@ -1803,7 +1803,7 @@ power_pmu_notifier(struct notifier_block *self, unsigned long action, void *hcpu
 	return NOTIFY_OK;
 }
 
-int __cpuinit register_power_pmu(struct power_pmu *pmu)
+int register_power_pmu(struct power_pmu *pmu)
 {
 	if (ppmu)
 		return -EBUSY;		/* something's already registered */
diff --git a/arch/powerpc/platforms/44x/currituck.c b/arch/powerpc/platforms/44x/currituck.c
index c52e1b3..7f1b71a 100644
--- a/arch/powerpc/platforms/44x/currituck.c
+++ b/arch/powerpc/platforms/44x/currituck.c
@@ -91,12 +91,12 @@ static void __init ppc47x_init_irq(void)
 }
 
 #ifdef CONFIG_SMP
-static void __cpuinit smp_ppc47x_setup_cpu(int cpu)
+static void smp_ppc47x_setup_cpu(int cpu)
 {
 	mpic_setup_this_cpu();
 }
 
-static int __cpuinit smp_ppc47x_kick_cpu(int cpu)
+static int smp_ppc47x_kick_cpu(int cpu)
 {
 	struct device_node *cpunode = of_get_cpu_node(cpu, NULL);
 	const u64 *spin_table_addr_prop;
diff --git a/arch/powerpc/platforms/44x/iss4xx.c b/arch/powerpc/platforms/44x/iss4xx.c
index a28a862..4241bc8 100644
--- a/arch/powerpc/platforms/44x/iss4xx.c
+++ b/arch/powerpc/platforms/44x/iss4xx.c
@@ -81,12 +81,12 @@ static void __init iss4xx_init_irq(void)
 }
 
 #ifdef CONFIG_SMP
-static void __cpuinit smp_iss4xx_setup_cpu(int cpu)
+static void smp_iss4xx_setup_cpu(int cpu)
 {
 	mpic_setup_this_cpu();
 }
 
-static int __cpuinit smp_iss4xx_kick_cpu(int cpu)
+static int smp_iss4xx_kick_cpu(int cpu)
 {
 	struct device_node *cpunode = of_get_cpu_node(cpu, NULL);
 	const u64 *spin_table_addr_prop;
diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c
index 6a17599..5ced4f5 100644
--- a/arch/powerpc/platforms/85xx/smp.c
+++ b/arch/powerpc/platforms/85xx/smp.c
@@ -99,7 +99,7 @@ static void mpc85xx_take_timebase(void)
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-static void __cpuinit smp_85xx_mach_cpu_die(void)
+static void smp_85xx_mach_cpu_die(void)
 {
 	unsigned int cpu = smp_processor_id();
 	u32 tmp;
@@ -141,7 +141,7 @@ static inline u32 read_spin_table_addr_l(void *spin_table)
 	return in_be32(&((struct epapr_spin_table *)spin_table)->addr_l);
 }
 
-static int __cpuinit smp_85xx_kick_cpu(int nr)
+static int smp_85xx_kick_cpu(int nr)
 {
 	unsigned long flags;
 	const u64 *cpu_rel_addr;
@@ -362,7 +362,7 @@ static void mpc85xx_smp_machine_kexec(struct kimage *image)
 }
 #endif /* CONFIG_KEXEC */
 
-static void __cpuinit smp_85xx_setup_cpu(int cpu_nr)
+static void smp_85xx_setup_cpu(int cpu_nr)
 {
 	if (smp_85xx_ops.probe == smp_mpic_probe)
 		mpic_setup_this_cpu();
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index f921067..5cbd4d6 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -885,7 +885,7 @@ static int smp_core99_cpu_notify(struct notifier_block *self,
 	return NOTIFY_OK;
 }
 
-static struct notifier_block __cpuinitdata smp_core99_cpu_nb = {
+static struct notifier_block smp_core99_cpu_nb = {
 	.notifier_call	= smp_core99_cpu_notify,
 };
 #endif /* CONFIG_HOTPLUG_CPU */
diff --git a/arch/powerpc/platforms/powernv/smp.c b/arch/powerpc/platforms/powernv/smp.c
index 77784ae..89e3857 100644
--- a/arch/powerpc/platforms/powernv/smp.c
+++ b/arch/powerpc/platforms/powernv/smp.c
@@ -40,7 +40,7 @@
 #define DBG(fmt...)
 #endif
 
-static void __cpuinit pnv_smp_setup_cpu(int cpu)
+static void pnv_smp_setup_cpu(int cpu)
 {
 	if (cpu != boot_cpuid)
 		xics_setup_cpu();
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH-next 00/32] Delete support for __cpuinit
  2013-06-24 19:30 [PATCH-next 00/32] Delete support for __cpuinit Paul Gortmaker
  2013-06-24 19:30 ` [PATCH 04/32] powerpc: delete __cpuinit usage from all users Paul Gortmaker
@ 2013-06-24 20:00 ` Paul Gortmaker
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2013-06-24 20:00 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: linux-m32r-ja, linux-s390, linux-m32r, linux-ia64, linux-parisc,
	linux-cris-kernel, linux-pm, linux-sh, linux-hexagon,
	linux-xtensa, linux390, linux-kernel, cpufreq, lm-sensors,
	linux-acpi, netdev, sparclinux, uclinux-dist-devel, x86,
	linuxppc-dev, linux-arm-kernel

[Resending with only lists on Cc: -- previous mail header on the 00/32
 was too long; failed to get passed vger's crap filters.]

On 13-06-24 03:30 PM, Paul Gortmaker wrote:
> This is the whole patch queue for removal of __cpuinit support
> against the latest linux-next tree (Jun24th).  Some of you may
> have already seen chunks of it, or already read the logistics
> of what is being done (and why) here:
> 
>   https://lkml.org/lkml/2013/6/20/513
> 
> I won't repeat all that here again, other than to say this send
> is to ensure arch/subsystem maintainers get a 2nd chance to know
> what is going on and to look at what is being proposed for their
> area of code.  That, and to ensure one complete continuous copy
> of it gets mailed out.  You can also see the patch queue here:
> 
>   http://git.kernel.org/cgit/linux/kernel/git/paulg/cpuinit-delete.git
> 
> If you've noticed that a chunk for MIPS isn't present here, that
> is because it has already been queued in the linux-mips for-next
> branch.
> 
> Thanks,
> Paul.
> 
> ---
> Cc: Len Brown <lenb@kernel.org>
> Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> Cc: Richard Henderson <rth@twiddle.net>
> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
> Cc: Matt Turner <mattst88@gmail.com>
> Cc: Vineet Gupta <vgupta@synopsys.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Mike Frysinger <vapier@gentoo.org>
> Cc: Bob Liu <lliubbo@gmail.com>
> Cc: Sonic Zhang <sonic.zhang@analog.com>
> Cc: Jens Axboe <axboe@kernel.dk>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Mikael Starvik <starvik@axis.com>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: David Howells <dhowells@redhat.com>
> Cc: Richard Kuo <rkuo@codeaurora.org>
> Cc: Fenghua Yu <fenghua.yu@intel.com>
> Cc: Tony Luck <tony.luck@intel.com>
> Cc: Fenghua Yu <fenghua.yu@intel.com>
> Cc: Hirokazu Takata <takata@linux-m32r.org>
> Cc: James Hogan <james.hogan@imgtec.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Rusty Russell <rusty@rustcorp.com.au>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Jonas Bonn <jonas@southpole.se>
> Cc: Helge Deller <deller@gmx.de>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Josh Boyer <jwboyer@gmail.com>
> Cc: Matt Porter <mporter@kernel.crashing.org>
> Cc: Kumar Gala <galak@kernel.crashing.org>
> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
> Cc: Josh Triplett <josh@freedesktop.org>
> Cc: Dipankar Sarma <dipankar@in.ibm.com>
> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
> Cc: Chen Liqin <liqin.chen@sunplusct.com>
> Cc: Lennox Wu <lennox.wu@gmail.com>
> Cc: Paul Mundt <lethal@linux-sh.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Chris Metcalf <cmetcalf@tilera.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Chris Zankel <chris@zankel.net>
> Cc: Max Filippov <jcmvbkbc@gmail.com>
> Cc: linux-acpi@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: uclinux-dist-devel@blackfin.uclinux.org
> Cc: cpufreq@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Cc: linux-cris-kernel@axis.com
> Cc: linux-hexagon@vger.kernel.org
> Cc: lm-sensors@lm-sensors.org
> Cc: linux-ia64@vger.kernel.org
> Cc: linux-m32r@ml.linux-m32r.org
> Cc: linux-m32r-ja@ml.linux-m32r.org
> Cc: netdev@vger.kernel.org
> Cc: linux@lists.openrisc.net
> Cc: linux-parisc@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: linux390@de.ibm.com
> Cc: linux-s390@vger.kernel.org
> Cc: linux-sh@vger.kernel.org
> Cc: sparclinux@vger.kernel.org
> Cc: x86@kernel.org
> Cc: linux-xtensa@linux-xtensa.org
> 
> Paul Gortmaker (32):
>   init.h: remove __cpuinit sections from the kernel
>   modpost: remove all traces of cpuinit/cpuexit sections
>   alpha: delete __cpuinit usage from all users
>   powerpc: delete __cpuinit usage from all users
>   parisc: delete __cpuinit usage from all users
>   ia64: delete __cpuinit usage from all ia64 users
>   arm: delete __cpuinit/__CPUINIT usage from all ARM users
>   sparc: delete __cpuinit/__CPUINIT usage from all users
>   arm64: delete __cpuinit usage from all users
>   arc: delete __cpuinit usage from all arc files
>   blackfin: delete __cpuinit usage from all blackfin files
>   s390: delete __cpuinit usage from all s390 files
>   sh: delete __cpuinit usage from all sh files
>   tile: delete __cpuinit usage from all tile files
>   metag: delete __cpuinit usage from all metag files
>   cris: delete __cpuinit usage from all cris files
>   frv: delete __cpuinit usage from all frv files
>   hexagon: delete __cpuinit usage from all hexagon files
>   m32r: delete __cpuinit usage from all m32r files
>   openrisc: delete __cpuinit usage from all openrisc files
>   xtensa: delete __cpuinit usage from all xtensa files
>   score: delete __cpuinit usage from all score files
>   x86: delete __cpuinit usage from all x86 files
>   clocksource+irqchip: delete __cpuinit usage from all related files
>   cpufreq: delete __cpuinit usage from all cpufreq files
>   hwmon: delete __cpuinit usage from all hwmon files
>   acpi: delete __cpuinit usage from all acpi files
>   net: delete __cpuinit usage from all net files
>   rcu: delete __cpuinit usage from all rcu files
>   kernel: delete __cpuinit usage from all core kernel files
>   drivers: delete __cpuinit usage from all remaining drivers files
>   block: delete __cpuinit usage from all block files
> 
>  Documentation/cpu-hotplug.txt                 |  6 +--
>  arch/alpha/kernel/smp.c                       | 10 ++---
>  arch/alpha/kernel/traps.c                     |  4 +-
>  arch/arc/include/asm/irq.h                    |  2 +-
>  arch/arc/kernel/irq.c                         |  2 +-
>  arch/arc/kernel/setup.c                       | 10 ++---
>  arch/arc/kernel/smp.c                         |  4 +-
>  arch/arc/kernel/time.c                        |  6 +--
>  arch/arc/mm/cache_arc700.c                    |  4 +-
>  arch/arc/mm/tlb.c                             |  4 +-
>  arch/arm/common/mcpm_platsmp.c                |  4 +-
>  arch/arm/include/asm/arch_timer.h             |  2 +-
>  arch/arm/kernel/head-common.S                 |  1 -
>  arch/arm/kernel/head.S                        |  1 -
>  arch/arm/kernel/hw_breakpoint.c               |  4 +-
>  arch/arm/kernel/perf_event_cpu.c              |  6 +--
>  arch/arm/kernel/psci_smp.c                    |  3 +-
>  arch/arm/kernel/smp.c                         | 18 ++++----
>  arch/arm/kernel/smp_twd.c                     |  6 +--
>  arch/arm/lib/delay.c                          |  2 +-
>  arch/arm/mach-exynos/headsmp.S                |  2 -
>  arch/arm/mach-exynos/platsmp.c                |  4 +-
>  arch/arm/mach-highbank/platsmp.c              |  2 +-
>  arch/arm/mach-imx/platsmp.c                   |  2 +-
>  arch/arm/mach-msm/headsmp.S                   |  2 -
>  arch/arm/mach-msm/platsmp.c                   |  6 +--
>  arch/arm/mach-msm/timer.c                     |  4 +-
>  arch/arm/mach-mvebu/coherency.c               |  2 +-
>  arch/arm/mach-mvebu/headsmp.S                 |  2 -
>  arch/arm/mach-mvebu/platsmp.c                 |  5 +--
>  arch/arm/mach-omap2/omap-headsmp.S            |  2 -
>  arch/arm/mach-omap2/omap-mpuss-lowpower.c     |  2 +-
>  arch/arm/mach-omap2/omap-smp.c                |  4 +-
>  arch/arm/mach-omap2/omap-wakeupgen.c          |  4 +-
>  arch/arm/mach-prima2/headsmp.S                |  2 -
>  arch/arm/mach-prima2/platsmp.c                |  4 +-
>  arch/arm/mach-shmobile/headsmp-scu.S          |  1 -
>  arch/arm/mach-shmobile/headsmp.S              |  2 -
>  arch/arm/mach-shmobile/smp-emev2.c            |  2 +-
>  arch/arm/mach-shmobile/smp-r8a7779.c          |  2 +-
>  arch/arm/mach-shmobile/smp-sh73a0.c           |  2 +-
>  arch/arm/mach-socfpga/headsmp.S               |  1 -
>  arch/arm/mach-socfpga/platsmp.c               |  2 +-
>  arch/arm/mach-spear/generic.h                 |  2 +-
>  arch/arm/mach-spear/platsmp.c                 |  4 +-
>  arch/arm/mach-tegra/platsmp.c                 |  4 +-
>  arch/arm/mach-tegra/pm.c                      |  2 +-
>  arch/arm/mach-ux500/platsmp.c                 |  4 +-
>  arch/arm/mach-zynq/common.h                   |  2 +-
>  arch/arm/mach-zynq/headsmp.S                  |  2 -
>  arch/arm/mach-zynq/platsmp.c                  |  6 +--
>  arch/arm/mm/proc-arm1020.S                    |  2 -
>  arch/arm/mm/proc-arm1020e.S                   |  2 -
>  arch/arm/mm/proc-arm1022.S                    |  2 -
>  arch/arm/mm/proc-arm1026.S                    |  3 --
>  arch/arm/mm/proc-arm720.S                     |  2 -
>  arch/arm/mm/proc-arm740.S                     |  2 -
>  arch/arm/mm/proc-arm7tdmi.S                   |  2 -
>  arch/arm/mm/proc-arm920.S                     |  2 -
>  arch/arm/mm/proc-arm922.S                     |  2 -
>  arch/arm/mm/proc-arm925.S                     |  2 -
>  arch/arm/mm/proc-arm926.S                     |  2 -
>  arch/arm/mm/proc-arm940.S                     |  2 -
>  arch/arm/mm/proc-arm946.S                     |  2 -
>  arch/arm/mm/proc-arm9tdmi.S                   |  2 -
>  arch/arm/mm/proc-fa526.S                      |  2 -
>  arch/arm/mm/proc-feroceon.S                   |  2 -
>  arch/arm/mm/proc-mohawk.S                     |  2 -
>  arch/arm/mm/proc-sa110.S                      |  2 -
>  arch/arm/mm/proc-sa1100.S                     |  2 -
>  arch/arm/mm/proc-v6.S                         |  2 -
>  arch/arm/mm/proc-v7-2level.S                  |  4 --
>  arch/arm/mm/proc-v7-3level.S                  |  4 --
>  arch/arm/mm/proc-v7.S                         |  2 -
>  arch/arm/mm/proc-xsc3.S                       |  2 -
>  arch/arm/mm/proc-xscale.S                     |  2 -
>  arch/arm/plat-versatile/platsmp.c             |  6 +--
>  arch/arm64/include/asm/arch_timer.h           |  2 +-
>  arch/arm64/kernel/debug-monitors.c            |  6 +--
>  arch/arm64/kernel/hw_breakpoint.c             |  4 +-
>  arch/arm64/kernel/smp.c                       |  8 ++--
>  arch/blackfin/kernel/perf_event.c             |  2 +-
>  arch/blackfin/kernel/setup.c                  |  4 +-
>  arch/blackfin/mach-bf561/smp.c                |  6 +--
>  arch/blackfin/mach-common/cache-c.c           |  4 +-
>  arch/blackfin/mach-common/ints-priority.c     |  2 +-
>  arch/blackfin/mach-common/smp.c               |  8 ++--
>  arch/cris/arch-v32/kernel/smp.c               |  2 +-
>  arch/frv/kernel/setup.c                       |  2 +-
>  arch/hexagon/kernel/setup.c                   |  2 +-
>  arch/hexagon/kernel/smp.c                     |  4 +-
>  arch/ia64/kernel/acpi.c                       |  4 +-
>  arch/ia64/kernel/err_inject.c                 |  8 ++--
>  arch/ia64/kernel/mca.c                        | 12 ++---
>  arch/ia64/kernel/numa.c                       |  4 +-
>  arch/ia64/kernel/palinfo.c                    |  4 +-
>  arch/ia64/kernel/salinfo.c                    |  4 +-
>  arch/ia64/kernel/setup.c                      | 10 ++---
>  arch/ia64/kernel/smpboot.c                    |  8 ++--
>  arch/ia64/kernel/topology.c                   | 18 ++++----
>  arch/ia64/mm/contig.c                         |  3 +-
>  arch/ia64/mm/discontig.c                      |  2 +-
>  arch/ia64/mm/numa.c                           |  2 +-
>  arch/ia64/sn/kernel/setup.c                   |  8 ++--
>  arch/ia64/xen/hypervisor.c                    |  2 +-
>  arch/m32r/kernel/smpboot.c                    |  2 +-
>  arch/metag/kernel/perf/perf_event.c           |  6 +--
>  arch/metag/kernel/smp.c                       | 16 +++----
>  arch/metag/kernel/traps.c                     |  2 +-
>  arch/openrisc/kernel/setup.c                  |  2 +-
>  arch/parisc/kernel/firmware.c                 | 14 +++---
>  arch/parisc/kernel/hardware.c                 |  2 +-
>  arch/parisc/kernel/processor.c                |  6 +--
>  arch/parisc/kernel/smp.c                      |  8 ++--
>  arch/powerpc/include/asm/rtas.h               |  4 +-
>  arch/powerpc/include/asm/vdso.h               |  2 +-
>  arch/powerpc/kernel/cacheinfo.c               | 36 ++++++++-------
>  arch/powerpc/kernel/rtas.c                    |  4 +-
>  arch/powerpc/kernel/smp.c                     |  4 +-
>  arch/powerpc/kernel/sysfs.c                   |  6 +--
>  arch/powerpc/kernel/time.c                    |  1 -
>  arch/powerpc/kernel/vdso.c                    |  2 +-
>  arch/powerpc/mm/44x_mmu.c                     |  6 +--
>  arch/powerpc/mm/hash_utils_64.c               |  2 +-
>  arch/powerpc/mm/mmu_context_nohash.c          |  6 +--
>  arch/powerpc/mm/numa.c                        |  7 ++-
>  arch/powerpc/mm/tlb_nohash.c                  |  2 +-
>  arch/powerpc/perf/core-book3s.c               |  4 +-
>  arch/powerpc/platforms/44x/currituck.c        |  4 +-
>  arch/powerpc/platforms/44x/iss4xx.c           |  4 +-
>  arch/powerpc/platforms/85xx/smp.c             |  6 +--
>  arch/powerpc/platforms/powermac/smp.c         |  2 +-
>  arch/powerpc/platforms/powernv/smp.c          |  2 +-
>  arch/s390/kernel/cache.c                      | 15 +++----
>  arch/s390/kernel/perf_cpum_cf.c               |  4 +-
>  arch/s390/kernel/processor.c                  |  2 +-
>  arch/s390/kernel/smp.c                        | 17 ++++---
>  arch/s390/kernel/sysinfo.c                    |  2 +-
>  arch/s390/kernel/vtime.c                      |  6 +--
>  arch/s390/mm/fault.c                          |  4 +-
>  arch/score/mm/tlb-score.c                     |  2 +-
>  arch/sh/kernel/cpu/init.c                     | 18 ++++----
>  arch/sh/kernel/cpu/sh2/probe.c                |  2 +-
>  arch/sh/kernel/cpu/sh2a/probe.c               |  2 +-
>  arch/sh/kernel/cpu/sh3/probe.c                |  2 +-
>  arch/sh/kernel/cpu/sh4/probe.c                |  2 +-
>  arch/sh/kernel/cpu/sh4a/smp-shx3.c            |  6 +--
>  arch/sh/kernel/cpu/sh5/probe.c                |  2 +-
>  arch/sh/kernel/perf_event.c                   |  4 +-
>  arch/sh/kernel/process.c                      |  2 +-
>  arch/sh/kernel/setup.c                        |  2 +-
>  arch/sh/kernel/smp.c                          |  8 ++--
>  arch/sh/kernel/traps_32.c                     |  2 +-
>  arch/sh/kernel/traps_64.c                     |  2 +-
>  arch/sh/mm/tlb-sh5.c                          |  2 +-
>  arch/sparc/kernel/ds.c                        | 11 ++---
>  arch/sparc/kernel/entry.h                     |  2 +-
>  arch/sparc/kernel/hvtramp.S                   |  1 -
>  arch/sparc/kernel/irq_64.c                    |  5 ++-
>  arch/sparc/kernel/leon_smp.c                  | 10 ++---
>  arch/sparc/kernel/mdesc.c                     | 34 +++++++-------
>  arch/sparc/kernel/smp_32.c                    | 20 ++++-----
>  arch/sparc/kernel/smp_64.c                    |  9 ++--
>  arch/sparc/kernel/sun4d_smp.c                 |  6 +--
>  arch/sparc/kernel/sun4m_smp.c                 |  6 +--
>  arch/sparc/kernel/sysfs.c                     |  4 +-
>  arch/sparc/kernel/trampoline_32.S             |  3 --
>  arch/sparc/kernel/trampoline_64.S             |  2 -
>  arch/sparc/mm/init_64.c                       |  2 +-
>  arch/sparc/mm/srmmu.c                         | 12 ++---
>  arch/tile/kernel/irq.c                        |  2 +-
>  arch/tile/kernel/messaging.c                  |  2 +-
>  arch/tile/kernel/setup.c                      | 12 ++---
>  arch/tile/kernel/smpboot.c                    |  8 ++--
>  arch/tile/kernel/time.c                       |  2 +-
>  arch/x86/include/asm/cpu.h                    |  2 +-
>  arch/x86/include/asm/microcode.h              |  4 +-
>  arch/x86/include/asm/microcode_intel.h        |  4 +-
>  arch/x86/include/asm/mmconfig.h               |  4 +-
>  arch/x86/include/asm/mpspec.h                 |  2 +-
>  arch/x86/include/asm/numa.h                   |  6 +--
>  arch/x86/include/asm/prom.h                   |  2 +-
>  arch/x86/include/asm/smp.h                    |  2 +-
>  arch/x86/kernel/acpi/boot.c                   |  6 +--
>  arch/x86/kernel/apic/apic.c                   | 30 ++++++-------
>  arch/x86/kernel/apic/apic_numachip.c          |  2 +-
>  arch/x86/kernel/apic/es7000_32.c              |  2 +-
>  arch/x86/kernel/apic/numaq_32.c               |  2 +-
>  arch/x86/kernel/apic/x2apic_cluster.c         |  2 +-
>  arch/x86/kernel/apic/x2apic_uv_x.c            | 14 +++---
>  arch/x86/kernel/cpu/amd.c                     | 33 +++++++-------
>  arch/x86/kernel/cpu/centaur.c                 | 26 +++++------
>  arch/x86/kernel/cpu/common.c                  | 64 +++++++++++++--------------
>  arch/x86/kernel/cpu/cyrix.c                   | 40 ++++++++---------
>  arch/x86/kernel/cpu/hypervisor.c              |  2 +-
>  arch/x86/kernel/cpu/intel.c                   | 30 ++++++-------
>  arch/x86/kernel/cpu/intel_cacheinfo.c         | 55 +++++++++++------------
>  arch/x86/kernel/cpu/mcheck/mce.c              | 23 +++++-----
>  arch/x86/kernel/cpu/mcheck/mce_amd.c          | 14 +++---
>  arch/x86/kernel/cpu/mcheck/therm_throt.c      |  9 ++--
>  arch/x86/kernel/cpu/perf_event.c              |  2 +-
>  arch/x86/kernel/cpu/perf_event_amd_ibs.c      |  2 +-
>  arch/x86/kernel/cpu/perf_event_amd_uncore.c   | 31 +++++++------
>  arch/x86/kernel/cpu/perf_event_intel_uncore.c | 20 ++++-----
>  arch/x86/kernel/cpu/rdrand.c                  |  2 +-
>  arch/x86/kernel/cpu/scattered.c               |  4 +-
>  arch/x86/kernel/cpu/topology.c                |  2 +-
>  arch/x86/kernel/cpu/transmeta.c               |  6 +--
>  arch/x86/kernel/cpu/umc.c                     |  2 +-
>  arch/x86/kernel/cpu/vmware.c                  |  2 +-
>  arch/x86/kernel/cpuid.c                       |  7 ++-
>  arch/x86/kernel/devicetree.c                  |  2 +-
>  arch/x86/kernel/head_32.S                     |  1 -
>  arch/x86/kernel/i387.c                        |  8 ++--
>  arch/x86/kernel/irq_32.c                      |  2 +-
>  arch/x86/kernel/kvm.c                         | 10 ++---
>  arch/x86/kernel/kvmclock.c                    |  2 +-
>  arch/x86/kernel/microcode_core.c              |  2 +-
>  arch/x86/kernel/microcode_core_early.c        |  6 +--
>  arch/x86/kernel/microcode_intel_early.c       | 26 +++++------
>  arch/x86/kernel/mmconf-fam10h_64.c            | 12 ++---
>  arch/x86/kernel/msr.c                         |  6 +--
>  arch/x86/kernel/process.c                     |  2 +-
>  arch/x86/kernel/setup.c                       |  2 +-
>  arch/x86/kernel/smpboot.c                     | 28 ++++++------
>  arch/x86/kernel/tboot.c                       |  6 +--
>  arch/x86/kernel/tsc.c                         |  4 +-
>  arch/x86/kernel/tsc_sync.c                    | 18 ++++----
>  arch/x86/kernel/vsyscall_64.c                 |  6 +--
>  arch/x86/kernel/x86_init.c                    |  4 +-
>  arch/x86/kernel/xsave.c                       |  4 +-
>  arch/x86/mm/mmio-mod.c                        |  4 +-
>  arch/x86/mm/numa.c                            | 12 ++---
>  arch/x86/mm/numa_emulation.c                  | 12 ++---
>  arch/x86/mm/setup_nx.c                        |  4 +-
>  arch/x86/pci/amd_bus.c                        |  8 ++--
>  arch/x86/platform/ce4100/ce4100.c             |  2 +-
>  arch/x86/platform/mrst/mrst.c                 |  4 +-
>  arch/x86/xen/enlighten.c                      |  6 +--
>  arch/x86/xen/setup.c                          |  6 +--
>  arch/x86/xen/smp.c                            | 12 ++---
>  arch/x86/xen/spinlock.c                       |  2 +-
>  arch/x86/xen/xen-ops.h                        |  2 +-
>  arch/xtensa/kernel/time.c                     |  2 +-
>  block/blk-iopoll.c                            |  6 +--
>  block/blk-softirq.c                           |  6 +--
>  drivers/acpi/acpi_processor.c                 |  2 +-
>  drivers/acpi/processor_core.c                 |  8 ++--
>  drivers/acpi/processor_driver.c               |  8 ++--
>  drivers/acpi/processor_idle.c                 |  6 +--
>  drivers/base/cpu.c                            |  2 +-
>  drivers/base/topology.c                       | 10 ++---
>  drivers/clocksource/arm_arch_timer.c          |  8 ++--
>  drivers/clocksource/exynos_mct.c              |  4 +-
>  drivers/clocksource/metag_generic.c           |  6 +--
>  drivers/clocksource/time-armada-370-xp.c      |  4 +-
>  drivers/clocksource/timer-marco.c             |  4 +-
>  drivers/cpufreq/cpufreq.c                     |  4 +-
>  drivers/cpufreq/cpufreq_stats.c               |  4 +-
>  drivers/cpufreq/dbx500-cpufreq.c              |  2 +-
>  drivers/cpufreq/intel_pstate.c                |  4 +-
>  drivers/cpufreq/longhaul.c                    |  6 +--
>  drivers/cpufreq/longhaul.h                    | 26 +++++------
>  drivers/cpufreq/longrun.c                     |  8 ++--
>  drivers/cpufreq/omap-cpufreq.c                |  2 +-
>  drivers/cpufreq/powernow-k7.c                 |  8 ++--
>  drivers/cpufreq/powernow-k8.c                 |  6 +--
>  drivers/hwmon/coretemp.c                      | 39 ++++++++--------
>  drivers/hwmon/via-cputemp.c                   |  8 ++--
>  drivers/irqchip/irq-gic.c                     |  8 ++--
>  drivers/oprofile/timer_int.c                  |  4 +-
>  drivers/xen/xen-acpi-cpuhotplug.c             |  2 +-
>  include/asm-generic/vmlinux.lds.h             | 12 -----
>  include/linux/cpu.h                           |  2 +-
>  include/linux/init.h                          | 19 ++++----
>  include/linux/perf_event.h                    |  2 +-
>  init/calibrate.c                              | 13 +++---
>  kernel/cpu.c                                  |  6 +--
>  kernel/events/core.c                          |  4 +-
>  kernel/fork.c                                 |  2 +-
>  kernel/hrtimer.c                              |  6 +--
>  kernel/printk.c                               |  2 +-
>  kernel/profile.c                              |  2 +-
>  kernel/rcutorture.c                           |  6 +--
>  kernel/rcutree.c                              |  6 +--
>  kernel/rcutree.h                              |  4 +-
>  kernel/rcutree_plugin.h                       |  6 +--
>  kernel/relay.c                                |  2 +-
>  kernel/sched/core.c                           | 12 ++---
>  kernel/sched/fair.c                           |  2 +-
>  kernel/smp.c                                  |  2 +-
>  kernel/smpboot.c                              |  2 +-
>  kernel/softirq.c                              |  8 ++--
>  kernel/time/tick-sched.c                      |  2 +-
>  kernel/timer.c                                | 10 ++---
>  kernel/workqueue.c                            |  4 +-
>  lib/Kconfig.debug                             |  2 +-
>  lib/earlycpio.c                               |  2 +-
>  lib/percpu_counter.c                          |  2 +-
>  mm/memcontrol.c                               |  2 +-
>  mm/page-writeback.c                           |  4 +-
>  mm/slab.c                                     | 10 ++---
>  mm/slub.c                                     |  4 +-
>  mm/vmstat.c                                   |  6 +--
>  net/core/flow.c                               |  4 +-
>  net/iucv/iucv.c                               |  2 +-
>  scripts/mod/modpost.c                         | 52 ++++------------------
>  307 files changed, 896 insertions(+), 1037 deletions(-)
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-24 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 19:30 [PATCH-next 00/32] Delete support for __cpuinit Paul Gortmaker
2013-06-24 19:30 ` [PATCH 04/32] powerpc: delete __cpuinit usage from all users Paul Gortmaker
2013-06-24 20:00 ` [PATCH-next 00/32] Delete support for __cpuinit Paul Gortmaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).