mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
a2a58b5ca1
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:
|
||
---|---|---|
.. | ||
errata_cip_453.S | ||
errata.c | ||
Makefile |