diff options
-rw-r--r-- | kexec/arch/ppc64/kexec-ppc64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/arch/ppc64/kexec-ppc64.c b/kexec/arch/ppc64/kexec-ppc64.c index 3c6aa69..5802522 100644 --- a/kexec/arch/ppc64/kexec-ppc64.c +++ b/kexec/arch/ppc64/kexec-ppc64.c @@ -613,8 +613,9 @@ int get_memory_ranges(struct memory_range **range, int *ranges, return -1; if (alloc_memory_ranges()) return -1; + if (setup_memory_ranges(kexec_flags)) + return -1; - setup_memory_ranges(kexec_flags); *range = memory_range; *ranges = nr_memory_ranges; fprintf(stderr, "get memory ranges:%d\n", nr_memory_ranges); |