summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makedumpfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/makedumpfile.c b/makedumpfile.c
index 6942047..3b8e981 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -3878,6 +3878,9 @@ initial(void)
if (!get_value_for_old_linux())
return FALSE;
+ if (!is_xen_memory() && !cache_init())
+ return FALSE;
+
if (info->flag_mem_usage && !get_kcore_dump_loads())
return FALSE;
@@ -4000,9 +4003,6 @@ out:
}
}
- if (!is_xen_memory() && !cache_init())
- return FALSE;
-
if (debug_info && !get_machdep_info())
return FALSE;