summaryrefslogtreecommitdiffstats
path: root/fs/dlm/user.c
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-01 18:53:46 +0100
committerDavid Teigland <teigland@redhat.com>2008-02-07 06:41:22 +0100
commit30727174b6273c67fa96fb818fe5bdde1ad70e5c (patch)
tree807a66e114555caf3dc07fc818d2dac2c62dff47 /fs/dlm/user.c
parentdlm: eliminate astparam type casting (diff)
downloadlinux-30727174b6273c67fa96fb818fe5bdde1ad70e5c.tar.xz
linux-30727174b6273c67fa96fb818fe5bdde1ad70e5c.zip
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/user.c')
-rw-r--r--fs/dlm/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/user.c b/fs/dlm/user.c
index 70b31b914870..ebbcf38fd33b 100644
--- a/fs/dlm/user.c
+++ b/fs/dlm/user.c
@@ -902,7 +902,7 @@ static struct miscdevice ctl_device = {
.minor = MISC_DYNAMIC_MINOR,
};
-int dlm_user_init(void)
+int __init dlm_user_init(void)
{
int error;