All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/tmem: mark xen_tmem_init() __init
@ 2015-01-23  8:37 Jan Beulich
  2015-01-23 12:00 ` David Vrabel
  2015-01-23 12:00 ` [Xen-devel] " David Vrabel
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Beulich @ 2015-01-23  8:37 UTC (permalink / raw)
  To: David Vrabel, Boris Ostrovsky, Konrad Rzeszutek Wilk
  Cc: xen-devel, linux-kernel

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

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
 drivers/xen/tmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.19-rc5/drivers/xen/tmem.c
+++ 3.19-rc5-xen-tmem-init/drivers/xen/tmem.c
@@ -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;




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xen-devel] [PATCH] xen/tmem: mark xen_tmem_init() __init
  2015-01-23  8:37 [PATCH] xen/tmem: mark xen_tmem_init() __init Jan Beulich
  2015-01-23 12:00 ` David Vrabel
@ 2015-01-23 12:00 ` David Vrabel
  1 sibling, 0 replies; 4+ messages in thread
From: David Vrabel @ 2015-01-23 12:00 UTC (permalink / raw)
  To: Jan Beulich, David Vrabel, Boris Ostrovsky, Konrad Rzeszutek Wilk
  Cc: xen-devel, linux-kernel

On 23/01/15 08:37, Jan Beulich wrote:
> As a module_init() function, this should have been this way from the
> beginning.

Applied to devel/for-linus-3.20, thanks.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] xen/tmem: mark xen_tmem_init() __init
  2015-01-23  8:37 [PATCH] xen/tmem: mark xen_tmem_init() __init Jan Beulich
@ 2015-01-23 12:00 ` David Vrabel
  2015-01-23 12:00 ` [Xen-devel] " David Vrabel
  1 sibling, 0 replies; 4+ messages in thread
From: David Vrabel @ 2015-01-23 12:00 UTC (permalink / raw)
  To: Jan Beulich, David Vrabel, Boris Ostrovsky, Konrad Rzeszutek Wilk
  Cc: xen-devel, linux-kernel

On 23/01/15 08:37, Jan Beulich wrote:
> As a module_init() function, this should have been this way from the
> beginning.

Applied to devel/for-linus-3.20, thanks.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] xen/tmem: mark xen_tmem_init() __init
@ 2015-01-23  8:37 Jan Beulich
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Beulich @ 2015-01-23  8:37 UTC (permalink / raw)
  To: David Vrabel, Boris Ostrovsky, Konrad Rzeszutek Wilk
  Cc: xen-devel, linux-kernel

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

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
 drivers/xen/tmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.19-rc5/drivers/xen/tmem.c
+++ 3.19-rc5-xen-tmem-init/drivers/xen/tmem.c
@@ -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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-23 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23  8:37 [PATCH] xen/tmem: mark xen_tmem_init() __init Jan Beulich
2015-01-23 12:00 ` David Vrabel
2015-01-23 12:00 ` [Xen-devel] " David Vrabel
  -- strict thread matches above, loose matches on Subject: below --
2015-01-23  8:37 Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.