]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[S390] cmm: add missing __init/__exit annotations
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 9 Aug 2010 16:12:55 +0000 (18:12 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 9 Aug 2010 16:12:54 +0000 (18:12 +0200)
Add missing __init and __exit annoations for module init and exit
functions. This will save us huge amounts of memory... sort of.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/cmm.c

index eb6a2ef5f82e88cdf5621f197dfb2864133df325..4bddf8d3a150284a2724ee952caf33e92192cc69 100644 (file)
@@ -427,7 +427,7 @@ static struct notifier_block cmm_power_notifier = {
        .notifier_call = cmm_power_event,
 };
 
-static int cmm_init(void)
+static int __init cmm_init(void)
 {
        int rc = -ENOMEM;
 
@@ -467,7 +467,7 @@ out_sysctl:
 }
 module_init(cmm_init);
 
-static void cmm_exit(void)
+static void __exit cmm_exit(void)
 {
        unregister_sysctl_table(cmm_sysctl_header);
 #ifdef CONFIG_CMM_IUCV