diff options
author | Baoquan He <bhe@redhat.com> | 2014-10-29 16:19:55 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-02-09 14:53:23 +0900 |
commit | 5af63fb020d06514ba7cb4420f524fe6986a010a (patch) | |
tree | ec399c18af2d452b7af871f4bc76b39249fd7123 | |
parent | e716a4c9fda35067f176936d02f4303fd1b23c1e (diff) |
ppc64: erase unnecessary segment info printing
In ppc64 loading, it will print the segment information. This is not
wanted since other Archs don't have this. People even think there's
something wrong. So erase it to make it be consistent with other Archs.
And if people really want to check these info, they can specify "-d"
option. They are printed in print_segments() too.
Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/ppc64/kexec-elf-ppc64.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kexec/arch/ppc64/kexec-elf-ppc64.c b/kexec/arch/ppc64/kexec-elf-ppc64.c index ce10367..4a1540e 100644 --- a/kexec/arch/ppc64/kexec-elf-ppc64.c +++ b/kexec/arch/ppc64/kexec-elf-ppc64.c @@ -377,10 +377,6 @@ int elf_ppc64_load(int argc, char **argv, const char *buf, off_t len, dbgprintf("opal_base is %llx\n", (unsigned long long) my_opal_base); dbgprintf("opal_entry is %llx\n", (unsigned long long) my_opal_entry); - for (i = 0; i < info->nr_segments; i++) - fprintf(stderr, "segment[%d].mem:%p memsz:%zu\n", i, - info->segment[i].mem, info->segment[i].memsz); - return 0; } |