]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[IA64] Delete __cpuinit usage from all ia64 users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 17 Jun 2013 19:51:20 +0000 (15:51 -0400)
committerTony Luck <tony.luck@intel.com>
Mon, 24 Jun 2013 22:44:27 +0000 (15:44 -0700)
commitccce9bb83ed20bca52f82ff9d7cf889d23a2ec01
tree92603d8bec61c30766dd0ae9e46fff1b6416131e
parent69cbc0464d87bfa38c0a4fe4d8bb751c1ec8cedf
[IA64] Delete __cpuinit usage from all ia64 users

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 ia64 uses of the __cpuinit macros.

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

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
14 files changed:
arch/ia64/kernel/acpi.c
arch/ia64/kernel/err_inject.c
arch/ia64/kernel/mca.c
arch/ia64/kernel/numa.c
arch/ia64/kernel/palinfo.c
arch/ia64/kernel/salinfo.c
arch/ia64/kernel/setup.c
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/topology.c
arch/ia64/mm/contig.c
arch/ia64/mm/discontig.c
arch/ia64/mm/numa.c
arch/ia64/sn/kernel/setup.c
arch/ia64/xen/hypervisor.c