summaryrefslogtreecommitdiff
path: root/kexec/kexec-elf-boot.h
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2017-03-03 11:52:15 +0800
committerSimon Horman <horms@verge.net.au>2017-03-10 10:13:29 +0100
commit263e45ccf27b21e9862cc538ed28978533d04e4b (patch)
tree0af7115860af4e7d7d5d81d62364e0cfd844fa8c /kexec/kexec-elf-boot.h
parent7dac152d5b47f5e505994026cbfec30dee1a0941 (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/kexec-elf-boot.h')
0 files changed, 0 insertions, 0 deletions