[PATCH] Remove __devinit and __cpuinit from notifier_call definitions
commit83d722f7e198b034699b1500d98729beff930efd
authorChandra Seetharaman <sekharan@us.ibm.com>
Tue, 25 Apr 2006 02:35:21 +0000 (24 19:35 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Apr 2006 15:30:03 +0000 (26 08:30 -0700)
tree7d790a2fd62165373ec7bacde704837288e0bec3
parent649bbaa484bcdce94f40a1b97a6a2ded0549e8a2
[PATCH] Remove __devinit and __cpuinit from notifier_call definitions

Few of the notifier_chain_register() callers use __init in the definition
of notifier_call.  It is incorrect as the function definition should be
available after the initializations (they do not unregister them during
initializations).

This patch fixes all such usages to _not_ have the notifier_call __init
section.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 files changed:
arch/i386/kernel/cpu/intel_cacheinfo.c
arch/ia64/kernel/palinfo.c
arch/ia64/kernel/salinfo.c
arch/ia64/kernel/topology.c
arch/powerpc/kernel/sysfs.c
arch/x86_64/kernel/mce.c
arch/x86_64/kernel/mce_amd.c
drivers/base/topology.c
drivers/cpufreq/cpufreq.c
kernel/hrtimer.c
kernel/profile.c
kernel/rcupdate.c
kernel/softirq.c
kernel/softlockup.c
kernel/timer.c
kernel/workqueue.c
mm/page_alloc.c
mm/slab.c
mm/vmscan.c