summaryrefslogtreecommitdiff
path: root/kexec/arch/mips/crashdump-mips.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2010-10-29 09:54:25 +0200
committerSimon Horman <horms@verge.net.au>2010-10-31 10:12:11 +0900
commit841c02cfbfb54a5460b3507c497c07bc869a6fe8 (patch)
tree1394496ac89404d62ca7822dbc72afe8e70b9b47 /kexec/arch/mips/crashdump-mips.c
parent46b2d0b8a7192bb3b8f3b34629514bc7d50bf3ce (diff)
make /proc/vmcore accessible on x86_64
If the x86_64 arch returns 0 (KEXEC_ARCH_DEFAULT) then following condition in load_crashdump_segments function will fill 386 as the machine for the vmcore elf header.. ... if ((info->kexec_flags & KEXEC_ARCH_MASK) == KEXEC_ARCH_X86_64) { elf_info.machine = EM_X86_64; } else { elf_info.machine = EM_386; elf_info.lowmem_limit = X86_MAXMEM; elf_info.get_note_info = get_crash_notes; } ... ending with kexec-ed kernel failing check for the machine, and disabling vmcore interface. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/mips/crashdump-mips.c')
0 files changed, 0 insertions, 0 deletions