Skip to contentSkip to conversation

vmstat: export all_vm_events()

PATCH In review Heiko Carstens 2 participants 3 messages Jul 7, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmstat: export all_vm_events()

From: Heiko Carstens <[email protected]>

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 <[email protected]>
Cc Gerald Schaefer <[email protected]>
Cc Martin Schwidefsky <[email protected]>

---

 mm/vmstat.c |    1 +
 1 file changed, 1 insertion(+)
mm/vmstat.c +1 -0
index 73b83d6..4701768 100644
@@ -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
 /*
#1 lore raw
Quoted 1 line · On Fri, 7 Jul 2006 09:45:25 +0200 Heiko Carstens <[email protected]>…

+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.

#2 lore raw
Quoted 9 lines · Andrew Morton
Quoted 1 line · On Fri, 7 Jul 2006 09:45:25 +0200 Heiko Carstens <[email protected]>…

+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.