[Kernel] Export more symbols for module.

This commit is contained in:
Bernard Xiong 2015-09-24 20:59:00 +08:00
parent 3dc91bf8ab
commit d0dcdd11fe
1 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ rt_module_t rt_module_self(void)
/* return current module */ /* return current module */
return (rt_module_t)tid->module_id; return (rt_module_t)tid->module_id;
} }
RTM_EXPORT(rt_module_self);
static int rt_module_arm_relocate(struct rt_module *module, static int rt_module_arm_relocate(struct rt_module *module,
Elf32_Rel *rel, Elf32_Rel *rel,
@ -1563,6 +1564,7 @@ rt_module_t rt_module_find(const char *name)
/* not found */ /* not found */
return RT_NULL; return RT_NULL;
} }
RTM_EXPORT(rt_module_find);
#ifdef RT_USING_SLAB #ifdef RT_USING_SLAB
/* /*