projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94dd85f
)
xen/tmem: mark xen_tmem_init() __init
author
Jan Beulich
<JBeulich@suse.com>
Fri, 23 Jan 2015 08:37:01 +0000
(08:37 +0000)
committer
David Vrabel
<david.vrabel@citrix.com>
Fri, 23 Jan 2015 11:55:24 +0000
(11:55 +0000)
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>
drivers/xen/tmem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/xen/tmem.c
b/drivers/xen/tmem.c
index 83b5c53bec6b6b0c06c7d9ec923df9676f17268b..8a65423bc696b4eac607012437b3af8e1161458e 100644
(file)
--- a/
drivers/xen/tmem.c
+++ b/
drivers/xen/tmem.c
@@
-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;