[PATCH] arm64: cpuidle: add __init section marker to arm_cpuidle_init

Krzysztof Kozlowski k.kozlowski at samsung.com
Wed Jul 1 18:56:47 PDT 2015


2015-07-02 10:33 GMT+09:00 Jisheng Zhang <jszhang at marvell.com>:
> It is not needed after booting, this patch moves the arm_cpuidle_init()
> function to the __init section.
>
> Signed-off-by: Jisheng Zhang <jszhang at marvell.com>
> ---
>  arch/arm64/kernel/cpuidle.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This looks good but I think you can also mark the stub in
arch/arm64/include/asm/cpuidle.h.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list