]> Pileus Git - ~andy/linux/commit
parisc: delete __cpuinit usage from all users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 17 Jun 2013 19:43:14 +0000 (15:43 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 14 Jul 2013 23:36:51 +0000 (19:36 -0400)
commit60ffef065dd40b91f6f76af6c7510ddf23102f54
tree72e183efcf4a43c6351d6cc944011b1e77ba6113
parentab39c77c3246f8462663fb1b07fa193f3e31e255
parisc: delete __cpuinit usage from all 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 parisc uses of the __cpuinit macros.

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

Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/parisc/kernel/firmware.c
arch/parisc/kernel/hardware.c
arch/parisc/kernel/processor.c
arch/parisc/kernel/smp.c