Krzysztof Kozlowski
e17afa6d1d
ia64: fix build error with !COREDUMP
...
commit 7404840d87557c4092bf0272bce5e0354c774bf9 upstream.
Fix linkage error when CONFIG_BINFMT_ELF is selected but CONFIG_COREDUMP
is not:
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_phdrs':
elfcore.c:(.text+0x172): undefined reference to `dump_emit'
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_data':
elfcore.c:(.text+0x2b2): undefined reference to `dump_emit'
Fixes: 1fcccbac89f5 ("elf coredump: replace ELF_CORE_EXTRA_* macros by functions")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/20200819064146.12529-1-krzk@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:43:33 +01:00
..
2020-08-26 10:40:58 +02:00
2020-11-05 11:43:33 +01:00
2020-11-05 11:43:22 +01:00
2020-11-05 11:43:21 +01:00
2019-09-24 15:54:09 -07:00
2020-06-17 16:40:21 +02:00
2019-09-24 15:54:09 -07:00
2020-05-10 10:31:31 +02:00
2020-11-05 11:43:33 +01:00
2020-10-01 13:17:12 +02:00
2020-02-24 08:37:02 +01:00
2020-11-05 11:43:30 +01:00
2020-01-17 19:48:43 +01:00
2019-09-27 13:02:19 -07:00
2020-11-01 12:01:06 +01:00
2020-09-03 11:27:10 +02:00
2020-11-05 11:43:31 +01:00
2020-11-05 11:43:17 +01:00
2020-11-05 11:43:30 +01:00
2020-08-21 13:05:38 +02:00
2020-11-05 11:43:13 +01:00
2020-11-05 11:43:14 +01:00
2019-09-26 10:10:44 -07:00
2020-11-05 11:43:23 +01:00
2020-10-01 13:17:22 +02:00
2020-11-05 11:43:13 +01:00