Skip to contentSkip to conversation

xen/tmem: mark xen_tmem_init() __init

PATCH Applied Jan Beulich 2 participants 3 messages Jan 23, 2015 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/tmem: mark xen_tmem_init() __init

As a module_init() function, this should have been this way from the beginning.

---
 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;
Applied
#1 lore raw
Quoted 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

Applied
#2 lore raw
In reply to Jan Beulich
Quoted 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