Masahiro Yamada 6ccbd7fd47 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>
2023-08-10 03:06:14 +09:00
..
2023-02-24 23:14:22 -05:00
2023-02-24 23:14:22 -05:00
2023-02-24 23:14:22 -05:00
2022-10-10 12:00:45 -07:00
2021-06-29 10:53:55 -07:00
2023-02-24 23:14:22 -05:00
2023-02-24 23:14:22 -05:00
2022-01-22 08:33:37 +02:00
2021-07-25 22:33:04 -07:00
2023-02-24 23:14:22 -05:00