mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] vmstat: export all_vm_events()
@ 2006-07-07  7:45 Heiko Carstens
  2006-07-07  7:57 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Carstens @ 2006-07-07  7:45 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Christoph Lameter, Martin Schwidefsky, Gerald Schaefer, linux-kernel

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Add missing EXPORT_SYMBOL for all_vm_events(). Git commit
f8891e5e1f93a128c3900f82035e8541357896a7 caused this:

  Building modules, stage 2.
  MODPOST
WARNING: "all_vm_events" [arch/s390/appldata/appldata_mem.ko] undefined!
  CC      arch/s390/appldata/appldata_mem.mod.o

Cc: Christoph Lameter <christoph@lameter.com>
Cc: Gerald Schaefer <geraldsc@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---

 mm/vmstat.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 73b83d6..4701768 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -81,6 +81,7 @@ void all_vm_events(unsigned long *ret)
 {
 	sum_vm_events(ret, &cpu_online_map);
 }
+EXPORT_SYMBOL(all_vm_events);
 
 #ifdef CONFIG_HOTPLUG
 /*

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

* Re: [patch] vmstat: export all_vm_events()
  2006-07-07  7:45 [patch] vmstat: export all_vm_events() Heiko Carstens
@ 2006-07-07  7:57 ` Andrew Morton
  2006-07-07  8:03   ` Heiko Carstens
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2006-07-07  7:57 UTC (permalink / raw)
  To: Heiko Carstens; +Cc: christoph, schwidefsky, geraldsc, linux-kernel

On Fri, 7 Jul 2006 09:45:25 +0200
Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> +EXPORT_SYMBOL(all_vm_events);

I converted this to _GPL if that's OK.

Don't know why, really.  Just to save wear and tear on Arjan's email client
I guess.


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

* Re: [patch] vmstat: export all_vm_events()
  2006-07-07  7:57 ` Andrew Morton
@ 2006-07-07  8:03   ` Heiko Carstens
  0 siblings, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2006-07-07  8:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: christoph, schwidefsky, geraldsc, linux-kernel

On Fri, Jul 07, 2006 at 12:57:12AM -0700, Andrew Morton wrote:
> On Fri, 7 Jul 2006 09:45:25 +0200
> Heiko Carstens <heiko.carstens@de.ibm.com> wrote:
> 
> > +EXPORT_SYMBOL(all_vm_events);
> 
> I converted this to _GPL if that's OK.
> 
> Don't know why, really.  Just to save wear and tear on Arjan's email client
> I guess.

Fine with me. I just tried to be consistent with the rest of the exports in
vmstat.c.

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

end of thread, other threads:[~2006-07-07  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07  7:45 [patch] vmstat: export all_vm_events() Heiko Carstens
2006-07-07  7:57 ` Andrew Morton
2006-07-07  8:03   ` Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome