diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2006-04-24 19:35:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-26 08:27:50 -0700 |
commit | 649bbaa484bcdce94f40a1b97a6a2ded0549e8a2 (patch) | |
tree | f24f05bf95ae9c4164266da87f36fed61c5c2206 /kernel/softirq.c | |
parent | e7edf9cdeddc0cff125e8e658216efb2ff2b2219 (diff) | |
download | linux-stable-649bbaa484bcdce94f40a1b97a6a2ded0549e8a2.tar.gz linux-stable-649bbaa484bcdce94f40a1b97a6a2ded0549e8a2.tar.bz2 linux-stable-649bbaa484bcdce94f40a1b97a6a2ded0549e8a2.zip |
[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>
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index ec8fed42a86f..a13f2b342e4b 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -484,7 +484,7 @@ static int __devinit cpu_callback(struct notifier_block *nfb, return NOTIFY_OK; } -static struct notifier_block __devinitdata cpu_nfb = { +static struct notifier_block cpu_nfb = { .notifier_call = cpu_callback }; |