vmstat: export all_vm_events()
Subsystems (2)
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]>
Signed-off-by Heiko Carstens <[email protected]>
---
mm/vmstat.c | 1 + 1 file changed, 1 insertion(+)
mm/vmstat.c +1 -0
@@ -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 /*
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.
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
_GPLif 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.