diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-08-09 12:12:55 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-08-09 12:12:54 -0400 |
commit | 2e85ba510ede4aea1b150493407ae911e8ea5051 (patch) | |
tree | aa52348c5d61cfd953b19724376e8d774b19b1a4 | |
parent | c304db8a860c10abfaf72f7faa3df598079e2f0c (diff) |
[S390] cmm: add missing __init/__exit annotations
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>
-rw-r--r-- | arch/s390/mm/cmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c index eb6a2ef5f82e..4bddf8d3a150 100644 --- a/arch/s390/mm/cmm.c +++ b/arch/s390/mm/cmm.c | |||
@@ -427,7 +427,7 @@ static struct notifier_block cmm_power_notifier = { | |||
427 | .notifier_call = cmm_power_event, | 427 | .notifier_call = cmm_power_event, |
428 | }; | 428 | }; |
429 | 429 | ||
430 | static int cmm_init(void) | 430 | static int __init cmm_init(void) |
431 | { | 431 | { |
432 | int rc = -ENOMEM; | 432 | int rc = -ENOMEM; |
433 | 433 | ||
@@ -467,7 +467,7 @@ out_sysctl: | |||
467 | } | 467 | } |
468 | module_init(cmm_init); | 468 | module_init(cmm_init); |
469 | 469 | ||
470 | static void cmm_exit(void) | 470 | static void __exit cmm_exit(void) |
471 | { | 471 | { |
472 | unregister_sysctl_table(cmm_sysctl_header); | 472 | unregister_sysctl_table(cmm_sysctl_header); |
473 | #ifdef CONFIG_CMM_IUCV | 473 | #ifdef CONFIG_CMM_IUCV |