summaryrefslogtreecommitdiffstats
path: root/fs/xfs/support
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2008-02-06 13:37:56 +1100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-07 18:25:19 +1100
commitde2eeea609b55e8c3994133a565b39edeaaaaf69 (patch)
treef0726491c2667427e643e5e26808b0c250884f4e /fs/xfs/support
parent450790a2c51e6d9d47ed30dbdcf486656b8e186f (diff)
downloadop-kernel-dev-de2eeea609b55e8c3994133a565b39edeaaaaf69.zip
op-kernel-dev-de2eeea609b55e8c3994133a565b39edeaaaaf69.tar.gz
[XFS] add __init/__exit mark to specific init/cleanup functions
SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:30459a Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Denis Cheng <crquan@gmail.com>
Diffstat (limited to 'fs/xfs/support')
-rw-r--r--fs/xfs/support/ktrace.c4
-rw-r--r--fs/xfs/support/uuid.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/support/ktrace.c b/fs/xfs/support/ktrace.c
index 119611e..129067c 100644
--- a/fs/xfs/support/ktrace.c
+++ b/fs/xfs/support/ktrace.c
@@ -21,7 +21,7 @@ static kmem_zone_t *ktrace_hdr_zone;
static kmem_zone_t *ktrace_ent_zone;
static int ktrace_zentries;
-void
+void __init
ktrace_init(int zentries)
{
ktrace_zentries = zentries;
@@ -36,7 +36,7 @@ ktrace_init(int zentries)
ASSERT(ktrace_ent_zone);
}
-void
+void __exit
ktrace_uninit(void)
{
kmem_zone_destroy(ktrace_hdr_zone);
diff --git a/fs/xfs/support/uuid.c b/fs/xfs/support/uuid.c
index e157015..493a6ec 100644
--- a/fs/xfs/support/uuid.c
+++ b/fs/xfs/support/uuid.c
@@ -133,7 +133,7 @@ uuid_table_remove(uuid_t *uuid)
mutex_unlock(&uuid_monitor);
}
-void
+void __init
uuid_init(void)
{
mutex_init(&uuid_monitor);
OpenPOWER on IntegriCloud