From: Heiko Carstens Date: Mon, 10 Jul 2006 11:44:31 +0000 (-0700) Subject: [PATCH] vmstat: export all_vm_events() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32dd66fce3b0ad5857433433b795844cb397608e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] vmstat: export all_vm_events() 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 Cc: Gerald Schaefer Cc: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/vmstat.c b/mm/vmstat.c index 73b83d67bab..dfdf2413390 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_GPL(all_vm_events); #ifdef CONFIG_HOTPLUG /*