mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue