]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Remove __devinitdata from notifier block definitions
authorChandra Seetharaman <sekharan@us.ibm.com>
Tue, 25 Apr 2006 02:35:15 +0000 (19:35 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Apr 2006 15:27:50 +0000 (08:27 -0700)
commit826eb7c6213264953df659deb3eef40c8a71a8ea
treef24f05bf95ae9c4164266da87f36fed61c5c2206
parent7b15af5265d93a860c7e91e8676fcabd04361ad0
[PATCH] Remove __devinitdata from notifier block definitions

Few of the notifier_chain_register() callers use __devinitdata in the
definition of notifier_block data structure.  It is incorrect as the
data structure should be available after the initializations (they do
not unregister them during initializations).

This was leading to an oops when notifier_chain_register() call is
invoked for those callback chains after initialization.

This patch fixes all such usages to _not_ have the notifier_block data
structure in the init data section.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/kernel/sysfs.c
arch/s390/appldata/appldata_base.c
block/ll_rw_blk.c
kernel/hrtimer.c
kernel/rcupdate.c
kernel/sched.c
kernel/softirq.c
kernel/softlockup.c
kernel/timer.c