The patch titled Remove __devinitdata from notifier block definitions has been removed from the -mm tree. Its filename is remove-__devinitdata-from-notifier-block-definitions.patch This patch was probably dropped from -mm because it has now been merged into a subsystem tree or into Linus's tree, or because it was folded into its parent patch in the -mm tree. From: Chandra Seetharaman <sekharan@xxxxxxxxxx> A few of the notifier_chain_register() callers use __initdata 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 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@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/powerpc/kernel/sysfs.c | 2 +- arch/s390/appldata/appldata_base.c | 2 +- block/ll_rw_blk.c | 2 +- kernel/hrtimer.c | 2 +- kernel/rcupdate.c | 2 +- kernel/sched.c | 2 +- kernel/softirq.c | 2 +- kernel/softlockup.c | 2 +- kernel/timer.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff -puN arch/powerpc/kernel/sysfs.c~remove-__devinitdata-from-notifier-block-definitions arch/powerpc/kernel/sysfs.c --- devel/arch/powerpc/kernel/sysfs.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/arch/powerpc/kernel/sysfs.c 2006-04-24 19:55:52.000000000 -0700 @@ -297,7 +297,7 @@ static int __devinit sysfs_cpu_notify(st return NOTIFY_OK; } -static struct notifier_block __devinitdata sysfs_cpu_nb = { +static struct notifier_block sysfs_cpu_nb = { .notifier_call = sysfs_cpu_notify, }; diff -puN arch/s390/appldata/appldata_base.c~remove-__devinitdata-from-notifier-block-definitions arch/s390/appldata/appldata_base.c --- devel/arch/s390/appldata/appldata_base.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/arch/s390/appldata/appldata_base.c 2006-04-24 19:55:52.000000000 -0700 @@ -652,7 +652,7 @@ appldata_cpu_notify(struct notifier_bloc return NOTIFY_OK; } -static struct notifier_block __devinitdata appldata_nb = { +static struct notifier_block appldata_nb = { .notifier_call = appldata_cpu_notify, }; diff -puN block/ll_rw_blk.c~remove-__devinitdata-from-notifier-block-definitions block/ll_rw_blk.c --- devel/block/ll_rw_blk.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/block/ll_rw_blk.c 2006-04-24 19:55:52.000000000 -0700 @@ -3385,7 +3385,7 @@ static int blk_cpu_notify(struct notifie } -static struct notifier_block __devinitdata blk_cpu_notifier = { +static struct notifier_block blk_cpu_notifier = { .notifier_call = blk_cpu_notify, }; diff -puN kernel/hrtimer.c~remove-__devinitdata-from-notifier-block-definitions kernel/hrtimer.c --- devel/kernel/hrtimer.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/kernel/hrtimer.c 2006-04-24 19:55:52.000000000 -0700 @@ -860,7 +860,7 @@ static int __devinit hrtimer_cpu_notify( return NOTIFY_OK; } -static struct notifier_block __devinitdata hrtimers_nb = { +static struct notifier_block hrtimers_nb = { .notifier_call = hrtimer_cpu_notify, }; diff -puN kernel/rcupdate.c~remove-__devinitdata-from-notifier-block-definitions kernel/rcupdate.c --- devel/kernel/rcupdate.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/kernel/rcupdate.c 2006-04-24 19:55:52.000000000 -0700 @@ -537,7 +537,7 @@ static int __devinit rcu_cpu_notify(stru return NOTIFY_OK; } -static struct notifier_block __devinitdata rcu_nb = { +static struct notifier_block rcu_nb = { .notifier_call = rcu_cpu_notify, }; diff -puN kernel/sched.c~remove-__devinitdata-from-notifier-block-definitions kernel/sched.c --- devel/kernel/sched.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/kernel/sched.c 2006-04-24 19:55:52.000000000 -0700 @@ -4814,7 +4814,7 @@ static int migration_call(struct notifie /* Register at highest priority so that task migration (migrate_all_tasks) * happens before everything else. */ -static struct notifier_block __devinitdata migration_notifier = { +static struct notifier_block migration_notifier = { .notifier_call = migration_call, .priority = 10 }; diff -puN kernel/softirq.c~remove-__devinitdata-from-notifier-block-definitions kernel/softirq.c --- devel/kernel/softirq.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/kernel/softirq.c 2006-04-24 19:55:52.000000000 -0700 @@ -484,7 +484,7 @@ static int __devinit cpu_callback(struct return NOTIFY_OK; } -static struct notifier_block __devinitdata cpu_nfb = { +static struct notifier_block cpu_nfb = { .notifier_call = cpu_callback }; diff -puN kernel/softlockup.c~remove-__devinitdata-from-notifier-block-definitions kernel/softlockup.c --- devel/kernel/softlockup.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/kernel/softlockup.c 2006-04-24 19:55:52.000000000 -0700 @@ -140,7 +140,7 @@ 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 }; diff -puN kernel/timer.c~remove-__devinitdata-from-notifier-block-definitions kernel/timer.c --- devel/kernel/timer.c~remove-__devinitdata-from-notifier-block-definitions 2006-04-24 19:55:52.000000000 -0700 +++ devel-akpm/kernel/timer.c 2006-04-24 19:55:52.000000000 -0700 @@ -1334,7 +1334,7 @@ static int __devinit timer_cpu_notify(st return NOTIFY_OK; } -static struct notifier_block __devinitdata timers_nb = { +static struct notifier_block timers_nb = { .notifier_call = timer_cpu_notify, }; _ Patches currently in -mm which might be from sekharan@xxxxxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html