linux/arch
Randy Dunlap a2a58b5ca1
RISC-V: fix sifive and thead section mismatches in errata
When CONFIG_MODULES is set, __init_or_module becomes <empty>, but when
CONFIG_MODULES is not set, __init_or_module becomes __init.
In the latter case, it causes section mismatch warnings:

WARNING: modpost: vmlinux.o: section mismatch in reference: riscv_fill_cpu_mfr_info (section: .text) -> sifive_errata_patch_func (section: .init.text)
WARNING: modpost: vmlinux.o: section mismatch in reference: riscv_fill_cpu_mfr_info (section: .text) -> thead_errata_patch_func (section: .init.text)

Fixes: bb3f89487f ("RISC-V: hwprobe: Remove __init on probe_vendor_features()")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Evan Green  <evan@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230429155247.12131-1-rdunlap@infradead.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2023-04-29 13:18:19 -07:00
..
alpha SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
arc SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
arm SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
arm64 SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
csky SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
hexagon treewide: Trace IPIs sent via smp_send_reschedule() 2023-03-24 11:01:28 +01:00
ia64 SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
loongarch SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
m68k m68knommu: updates and fixes for v6.4 2023-04-28 16:37:54 -07:00
microblaze Kconfig: introduce HAS_IOPORT option and select it as necessary 2023-04-05 22:15:19 +02:00
mips SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
nios2 - Nick Piggin's "shoot lazy tlbs" series, to improve the peformance of 2023-04-27 19:42:02 -07:00
openrisc treewide: Trace IPIs sent via smp_send_reschedule() 2023-03-24 11:01:28 +01:00
parisc SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
powerpc RISC-V Patches for the 6.4 Merge Window, Part 1 2023-04-28 16:55:39 -07:00
riscv RISC-V: fix sifive and thead section mismatches in errata 2023-04-29 13:18:19 -07:00
s390 SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
sh SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
sparc SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
um ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
x86 SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
xtensa SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
.gitignore
Kconfig lazy tlb: shoot lazies, non-refcounting lazy tlb mm reference handling scheme 2023-03-28 16:20:08 -07:00