diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-07-29 16:42:23 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-16 18:13:01 +0200 |
commit | ff9c28ef44d15914457c7dc13318c6c5a26934f0 (patch) | |
tree | 369f9aff40bdffbf17c1c069b22fc019d1bc237b /net/sched/sch_netem.c | |
parent | 06c5340858011aa1195aec43a776e3185fbf7f56 (diff) | |
download | linux-stable-ff9c28ef44d15914457c7dc13318c6c5a26934f0.tar.gz linux-stable-ff9c28ef44d15914457c7dc13318c6c5a26934f0.tar.bz2 linux-stable-ff9c28ef44d15914457c7dc13318c6c5a26934f0.zip |
alpha: remove __init annotation from exported page_is_ram()
commit 6ccbd7fd474674654019a20177c943359469103a upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched/sch_netem.c')
0 files changed, 0 insertions, 0 deletions