diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-07-29 09:42:23 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-08-09 20:06:14 +0200 |
commit | 6ccbd7fd474674654019a20177c943359469103a (patch) | |
tree | 5698b5ee3a82fc69a83f92849508ab0eebde77c0 /drivers/pinctrl/stm32/Makefile | |
parent | scripts/kallsyms: Fix build failure by setting errno before calling getline() (diff) | |
download | linux-6ccbd7fd474674654019a20177c943359469103a.tar.xz linux-6ccbd7fd474674654019a20177c943359469103a.zip |
alpha: remove __init annotation from exported page_is_ram()
EXPORT_SYMBOL and __init is a bad combination because the .init.text
section is freed up after the initialization.
Commit c5a130325f13 ("ACPI/APEI: Add parameter check before error
injection") exported page_is_ram(), hence the __init annotation should
be removed.
This fixes the modpost warning in ARCH=alpha builds:
WARNING: modpost: vmlinux: page_is_ram: EXPORT_SYMBOL used for init symbol. Remove __init or EXPORT_SYMBOL.
Fixes: c5a130325f13 ("ACPI/APEI: Add parameter check before error injection")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Diffstat (limited to 'drivers/pinctrl/stm32/Makefile')
0 files changed, 0 insertions, 0 deletions