xen/tmem: mark xen_tmem_init() __init
PATCH 1/1 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 <[email protected]>
--- drivers/xen/tmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/tmem.c +1 -1
@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontsw };#endif -static int xen_tmem_init (void ) +static int __init xen_tmem_init (void ) {if (!xen_domain ())return 0 ;
David Vrabel
AppliedQuoted 2 lines · Jan Beulich
As a
module_init()function, this should have been this way from the beginning.
Applied to devel/for-linus-3.20, thanks.
David
David Vrabel
AppliedQuoted 2 lines · Jan Beulich
As a
module_init()function, this should have been this way from the beginning.
Applied to devel/for-linus-3.20, thanks.
David