Commit e1b29134 authored by Atsushi Kumagai's avatar Atsushi Kumagai
Browse files

[PATCH] Add a existence check of symbols for --dump-dmesg.



Since the format of the kernel log buffer was changed in kernel 3.5,
some symbols related to the format have been needed for --dump-dmesg
option. However, the functions for --dump-dmesg use the symbols
without existence check, so makedumpfile can run into unexpected
error.
In practice, this is a definite issue since kernel 3.5 doesn't
export SIZE(log) to VMCOREINFO.

Signed-off-by: default avatarAtsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
parent 7c770ed0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment