android_kernel_motorola_sm6225/arch/alpha
Masahiro Yamada ff9c28ef44 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 c5a130325f ("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: c5a130325f ("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>
2023-08-16 18:13:01 +02:00
..
boot
include init: Remove check_bugs() leftovers 2023-08-08 19:49:18 +02:00
kernel alpha: remove __init annotation from exported page_is_ram() 2023-08-16 18:13:01 +02:00
lib
math-emu
mm exit: Add and use make_task_dead. 2023-02-06 07:49:45 +01:00
oprofile
defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:04 +02:00
Kconfig
Kconfig.debug
Makefile