From: Andrew Morton WARNING: "vm_stat" [fs/nfs/nfs.ko] undefined! Cc: Christoph Lameter Signed-off-by: Andrew Morton --- mm/vmstat.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/vmstat.c~zoned-vm-counters-basic-zvc-zoned-vm-counter-implementation-export-vm_stat mm/vmstat.c --- a/mm/vmstat.c~zoned-vm-counters-basic-zvc-zoned-vm-counter-implementation-export-vm_stat +++ a/mm/vmstat.c @@ -154,6 +154,7 @@ void get_zone_counts(unsigned long *acti * vm_stat contains the global counters */ atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS]; +EXPORT_SYMBOL(vm_stat); #ifdef CONFIG_SMP _