Skip to content

Commit

Permalink
[S390] cmm: add missing __init/__exit annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Aug 9, 2010
1 parent c304db8 commit 2e85ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/s390/mm/cmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -467,7 +467,7 @@ static int cmm_init(void)
}
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
Expand Down

0 comments on commit 2e85ba5

Please sign in to comment.