diff -r 3fd604b77a5e xen/common/cpu.c --- a/xen/common/cpu.c Wed Apr 06 16:03:15 2011 +0200 +++ b/xen/common/cpu.c Wed Apr 06 16:27:42 2011 +0200 @@ -54,7 +54,7 @@ void cpu_hotplug_done(void) static NOTIFIER_HEAD(cpu_chain); -void __init register_cpu_notifier(struct notifier_block *nb) +void register_cpu_notifier(struct notifier_block *nb) { if ( !spin_trylock(&cpu_add_remove_lock) ) BUG(); /* Should never fail as we are called only during boot. */ diff -r 3fd604b77a5e xen/common/notifier.c --- a/xen/common/notifier.c Wed Apr 06 16:03:15 2011 +0200 +++ b/xen/common/notifier.c Wed Apr 06 16:27:42 2011 +0200 @@ -19,7 +19,7 @@ * Adds a notifier to a raw notifier chain. * All locking must be provided by the caller. */ -void __init notifier_chain_register( +void notifier_chain_register( struct notifier_head *nh, struct notifier_block *n) { struct list_head *chain = &nh->head.chain;