diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-04-02 15:57:03 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-04-02 15:57:03 +0100 |
commit | d5298187b30d5806deda9088828fd29cad9237da (patch) | |
tree | d5306b6c7072fe95344f05751966a2ff60cf8abb /xen/common/notifier.c | |
parent | 06490f43250dddc40b4aaf0ff4995991f94e170a (diff) | |
download | xen-d5298187b30d5806deda9088828fd29cad9237da.tar.gz xen-d5298187b30d5806deda9088828fd29cad9237da.tar.bz2 xen-d5298187b30d5806deda9088828fd29cad9237da.zip |
move register_cpu_notifier() into .init.text
With no modular drivers, all CPU notifier setup is supposed to happen
during boot. There also is a respective comment in the function.=20
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/notifier.c')
-rw-r--r-- | xen/common/notifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/notifier.c b/xen/common/notifier.c index ea1ebdeffe..5924b56deb 100644 --- a/xen/common/notifier.c +++ b/xen/common/notifier.c @@ -19,7 +19,7 @@ * Adds a notifier to a raw notifier chain. * All locking must be provided by the caller. */ -void notifier_chain_register( +void __init notifier_chain_register( struct notifier_head *nh, struct notifier_block *n) { struct list_head *chain = &nh->head.chain; @@ -44,7 +44,7 @@ void notifier_chain_register( * Removes a notifier from a raw notifier chain. * All locking must be provided by the caller. */ -void notifier_chain_unregister( +void __init notifier_chain_unregister( struct notifier_head *nh, struct notifier_block *n) { list_del(&n->chain); |