]> www.infradead.org Git - users/dwmw2/linux.git/commit
xtensa: annotate dtb_start variable as static __initdata
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 18 Sep 2024 03:15:34 +0000 (12:15 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 9 Dec 2024 11:54:11 +0000 (03:54 -0800)
commit99e487db5c15a1630b186571c3734f4e3c751d0a
tree28f2fadb567670bbbe7222a6fe4aeb71a6cd4d41
parentadc218676eef25575469234709c2d87185ca223a
xtensa: annotate dtb_start variable as static __initdata

The 'dtb_start' variable is only used within arch/xtensa/kernel/setup.c.
Mark it as 'static'.

It is only used by parse_tag_fdt() and init_arch(), both of which are
annotated as __init. Therefore, dtb_start can be annotated as __initdata,
so it will discarded after boot.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Message-Id: <20240918031537.588965-1-masahiroy@kernel.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c