[PATCH] clocksource/arm_arch_timer: add __ro_after_init and __init

Marc Zyngier maz at kernel.org
Thu Apr 1 09:31:06 BST 2021


On Tue, 30 Mar 2021 07:04:44 +0100,
Jisheng Zhang <Jisheng.Zhang at synaptics.com> wrote:
> 
> Some functions are not needed after booting, so mark them as __init
> to move them to the .init section.
> 
> Some global variables are never modified after init, so can be
> __ro_after_init.
> 
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang at synaptics.com>

Acked-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list