diff options
author | Baoquan He <bhe@redhat.com> | 2017-03-03 11:52:15 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2017-03-10 10:13:29 +0100 |
commit | 263e45ccf27b21e9862cc538ed28978533d04e4b (patch) | |
tree | 0af7115860af4e7d7d5d81d62364e0cfd844fa8c /kexec/arch/i386/x86-linux-setup.h | |
parent | 7dac152d5b47f5e505994026cbfec30dee1a0941 (diff) |
Only print debug message when failed to serach for kernel symbol from /proc/kallsyms
Kernel symbol page_offset_base could be unavailable when mm KASLR code is
not compiled in kernel. It's inappropriate to print out error message
when failed to search for page_offset_base from /proc/kallsyms. Seems now
there is not a way to find out if mm KASLR is compiled in or not. An
alternative approach is only printing out debug message in get_kernel_sym
if failed to search a expected kernel symbol.
Do it in this patch, a simple fix.
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Pratyush Anand <panand@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/x86-linux-setup.h')
0 files changed, 0 insertions, 0 deletions