summaryrefslogtreecommitdiffstats
path: root/fs/dlm/memory.c
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-02 01:53:46 +0800
committerDavid Teigland <teigland@redhat.com>2008-02-06 23:41:22 -0600
commit30727174b6273c67fa96fb818fe5bdde1ad70e5c (patch)
tree807a66e114555caf3dc07fc818d2dac2c62dff47 /fs/dlm/memory.c
parentd292c0cc489fa642799494bddbd7c94d11f7bbc1 (diff)
downloadop-kernel-dev-30727174b6273c67fa96fb818fe5bdde1ad70e5c.zip
op-kernel-dev-30727174b6273c67fa96fb818fe5bdde1ad70e5c.tar.gz
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/memory.c')
-rw-r--r--fs/dlm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/memory.c b/fs/dlm/memory.c
index 65e41e5..54c14c6 100644
--- a/fs/dlm/memory.c
+++ b/fs/dlm/memory.c
@@ -18,7 +18,7 @@
static struct kmem_cache *lkb_cache;
-int dlm_memory_init(void)
+int __init dlm_memory_init(void)
{
int ret = 0;
OpenPOWER on IntegriCloud