Krzysztof Kozlowski
3aac1f37ce
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:08:52 +01:00
..
2020-08-26 10:31:02 +02:00
2020-10-29 09:55:17 +01:00
2020-11-05 11:08:45 +01:00
2020-11-05 11:08:44 +01:00
2018-08-24 08:22:08 +09:00
2019-04-05 22:32:55 +02:00
2020-05-10 10:30:11 +02:00
2020-11-05 11:08:52 +01:00
2020-10-01 13:14:24 +02:00
2020-02-24 08:34:53 +01:00
2020-10-01 13:14:53 +02:00
2019-12-13 08:51:35 +01:00
2020-01-27 14:50:30 +01:00
2020-09-23 12:10:58 +02:00
2020-08-19 08:15:07 +02:00
2020-11-05 11:08:51 +01:00
2020-11-05 11:08:41 +01:00
2020-11-05 11:08:51 +01:00
2020-08-21 11:05:39 +02:00
2020-11-05 11:08:38 +01:00
2020-11-05 11:08:39 +01:00
2020-11-05 11:08:46 +01:00
2020-08-21 11:05:31 +02:00
2020-11-05 11:08:38 +01:00