1
0
Fork 0
alistair23-linux/arch
Masahiro Yamada 2a5e5d0c96 MIPS: fw: arc: add __weak to prom_meminit and prom_free_prom_memory
As far as I understood, prom_meminit() in arch/mips/fw/arc/memory.c
is overridden by the one in arch/mips/sgi-ip32/ip32-memory.c if
CONFIG_SGI_IP32 is enabled.

The use of EXPORT_SYMBOL in static libraries potentially causes a
problem for the llvm linker [1]. So, I want to forcibly link lib-y
objects to vmlinux when CONFIG_MODULES=y.

As a groundwork, we must fix multiple definitions that have previously
been hidden by lib-y.

The prom_cleanup() in this file is already marked as __weak (because
it is overridden by the one in arch/mips/sgi-ip22/ip22-mc.c).
I think it should be OK to do the same for these two.

[1]: https://github.com/ClangBuiltLinux/linux/issues/515

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-By: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-04-09 00:13:45 +09:00
..
alpha asm-generic: fix unistd_32.h generation format 2020-04-07 10:43:42 -07:00
arc ARC updates for 5.7-rc1 2020-04-03 15:28:42 -07:00
arm - Fix-ups 2020-04-07 19:44:52 -07:00
arm64 1) Improve getrandom and /dev/random's support for those arm64 2020-04-05 10:59:18 -07:00
c6x SCSI misc on 20200402 2020-04-02 17:03:53 -07:00
csky mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
h8300 h8300: move definition of __kernel_size_t etc. to posix_types.h 2020-04-09 00:01:58 +09:00
hexagon mm: allow VM_FAULT_RETRY for multiple times 2020-04-02 09:35:30 -07:00
ia64 kasan: stackdepot: move filter_irq_stacks() to stackdepot.c 2020-04-07 10:43:43 -07:00
m68k mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
microblaze asm-generic: fix unistd_32.h generation format 2020-04-07 10:43:42 -07:00
mips MIPS: fw: arc: add __weak to prom_meminit and prom_free_prom_memory 2020-04-09 00:13:45 +09:00
nds32 kasan: stackdepot: move filter_irq_stacks() to stackdepot.c 2020-04-07 10:43:43 -07:00
nios2 dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
openrisc OpenRISC updates for 5.6 2020-04-07 12:33:37 -07:00
parisc Merge branch 'akpm' (patches from Andrew) 2020-04-07 14:11:54 -07:00
powerpc asm-generic: fix unistd_32.h generation format 2020-04-07 10:43:42 -07:00
riscv SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
s390 s390 updates for the 5.7 merge window 2020-04-04 09:45:50 -07:00
sh sh: remove unneeded uapi asm-generic wrappers 2020-04-09 00:01:58 +09:00
sparc Merge branch 'akpm' (patches from Andrew) 2020-04-07 14:11:54 -07:00
um This pull request contains the following changes for UML: 2020-04-07 12:36:09 -07:00
unicore32 - Fix-ups 2020-04-07 19:44:52 -07:00
x86 x86: update AS_* macros to binutils >=2.23, supporting ADX and AVX2 2020-04-09 00:12:48 +09:00
xtensa asm-generic: fix unistd_32.h generation format 2020-04-07 10:43:42 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00