diff options
author | Denis Cheng <crquan@gmail.com> | 2008-02-01 20:53:46 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-07 08:41:22 +0300 |
commit | 30727174b6273c67fa96fb818fe5bdde1ad70e5c (patch) | |
tree | 807a66e114555caf3dc07fc818d2dac2c62dff47 /fs/dlm/config.c | |
parent | d292c0cc489fa642799494bddbd7c94d11f7bbc1 (diff) | |
download | linux-30727174b6273c67fa96fb818fe5bdde1ad70e5c.tar.xz |
dlm: add __init and __exit marks to init and exit functions
it moves 365 bytes from .text to .init.text, and 30 bytes from .text to
.exit.text, saves memory.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/config.c')
-rw-r--r-- | fs/dlm/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/config.c b/fs/dlm/config.c index 2f8e3c81bc19..c3ad1dff3b25 100644 --- a/fs/dlm/config.c +++ b/fs/dlm/config.c @@ -604,7 +604,7 @@ static struct clusters clusters_root = { }, }; -int dlm_config_init(void) +int __init dlm_config_init(void) { config_group_init(&clusters_root.subsys.su_group); mutex_init(&clusters_root.subsys.su_mutex); |