aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2018-02-02 18:50:24 -0700
committerJohn Crispin <john@phrozen.org>2018-02-11 16:10:51 +0100
commit83d99924fa7f461b4df6d52379d702d5a49bc564 (patch)
tree0ff85cc6a9e320da63ddf6781e187d7c8e8505c4 /package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch
parentd59cc79e00e74184d42aec8743d57441c6b734bc (diff)
downloadupstream-83d99924fa7f461b4df6d52379d702d5a49bc564.tar.gz
upstream-83d99924fa7f461b4df6d52379d702d5a49bc564.tar.bz2
upstream-83d99924fa7f461b4df6d52379d702d5a49bc564.zip
kexec-tools: bump version to 2.0.16
All patches have been integrated upstream. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat (limited to 'package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch')
-rw-r--r--package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch b/package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch
deleted file mode 100644
index d80c6db84d..0000000000
--- a/package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit 263e45ccf27b21e9862cc538ed28978533d04e4b
-Author: Baoquan He <bhe@redhat.com>
-Date: Fri Mar 3 11:52:15 2017 +0800
-
- 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>
-
-diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
-index 88aeee3..c4cf201 100644
---- a/kexec/arch/i386/crashdump-x86.c
-+++ b/kexec/arch/i386/crashdump-x86.c
-@@ -127,7 +127,7 @@ static unsigned long long get_kernel_sym(const char *symbol)
- }
- }
-
-- fprintf(stderr, "Cannot get kernel %s symbol address\n", symbol);
-+ dbgprintf("Cannot get kernel %s symbol address\n", symbol);
- return 0;
- }
-