vmcoreinfo: add the array length of "free_list" for filtering free pages
[linux-2.6.git] / kernel / kexec.c
index aa74a1ef2da8003768519e4283d2b392be0a4171..9a26eec9eb04b858cfb7d3244071b94f4d4872c9 100644 (file)
@@ -1404,6 +1404,7 @@ static int __init crash_save_vmcoreinfo_init(void)
        VMCOREINFO_OFFSET(list_head, next);
        VMCOREINFO_OFFSET(list_head, prev);
        VMCOREINFO_LENGTH(zone.free_area, MAX_ORDER);
+       VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES);
        VMCOREINFO_NUMBER(NR_FREE_PAGES);
 
        arch_crash_save_vmcoreinfo();