[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>
This commit is contained in:
committed by
Lachlan McIlroy
parent
450790a2c5
commit
de2eeea609
@@ -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);
|
||||
|
Reference in New Issue
Block a user