mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
xen/tmem: mark xen_tmem_init() __init
As a module_init() function, this should have been this way from the beginning. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
This commit is contained in:
parent
94dd85f6a0
commit
144c61ad35
@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = {
|
||||
};
|
||||
#endif
|
||||
|
||||
static int xen_tmem_init(void)
|
||||
static int __init xen_tmem_init(void)
|
||||
{
|
||||
if (!xen_domain())
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user