]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/secvar: Mark __init functions as such
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 16 Dec 2024 04:07:43 +0000 (05:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 08:20:31 +0000 (09:20 +0100)
commit10f10210f674a79b1214abae58077475f5de81b3
treef00ad01a070fc67a57b61260b38cf1b40f666007
parent05a9896fa9e15466456a1b1dc9d2eacdf3551b79
powerpc/secvar: Mark __init functions as such

The setup functions are only called during the init phase of the kernel.
They can be discarded and their memory reused after that.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-powerpc-v1-1-bbed8906f476@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/secvar-sysfs.c