提交 144c61ad 编写于 作者: J Jan Beulich 提交者: David Vrabel

xen/tmem: mark xen_tmem_init() __init

As a module_init() function, this should have been this way from the
beginning.
Signed-off-by: NJan Beulich <jbeulich@suse.com>
Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
上级 94dd85f6
...@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = { ...@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = {
}; };
#endif #endif
static int xen_tmem_init(void) static int __init xen_tmem_init(void)
{ {
if (!xen_domain()) if (!xen_domain())
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册