Blame SOURCES/kexec-tools-2.0.8-ppc64-erase-unnecessary-segment-info-printing.patch

a6d77e
In ppc64 loading, it will print the segment information. This is not
a6d77e
wanted since other Archs don't have this. People even think there's
a6d77e
something wrong. So erase it to make it be consistent with other Archs.
a6d77e
a6d77e
And if people really want to check these info, they can specify "-d"
a6d77e
option. They are printed in print_segments() too.
a6d77e
a6d77e
Signed-off-by: Baoquan He <bhe at redhat.com>
a6d77e
---
a6d77e
 kexec/arch/ppc64/kexec-elf-ppc64.c | 4 ----
a6d77e
 1 file changed, 4 deletions(-)
a6d77e
a6d77e
diff --git a/kexec/arch/ppc64/kexec-elf-ppc64.c b/kexec/arch/ppc64/kexec-elf-ppc64.c
a6d77e
index ce10367..4a1540e 100644
a6d77e
--- a/kexec/arch/ppc64/kexec-elf-ppc64.c
a6d77e
+++ b/kexec/arch/ppc64/kexec-elf-ppc64.c
a6d77e
@@ -377,10 +377,6 @@ int elf_ppc64_load(int argc, char **argv, const char *buf, off_t len,
a6d77e
 	dbgprintf("opal_base is %llx\n", (unsigned long long) my_opal_base);
a6d77e
 	dbgprintf("opal_entry is %llx\n", (unsigned long long) my_opal_entry);
a6d77e
 
a6d77e
-	for (i = 0; i < info->nr_segments; i++)
a6d77e
-		fprintf(stderr, "segment[%d].mem:%p memsz:%zu\n", i,
a6d77e
-			info->segment[i].mem, info->segment[i].memsz);
a6d77e
-
a6d77e
 	return 0;
a6d77e
 }
a6d77e
 
a6d77e
-- 
a6d77e
1.9.0
a6d77e