From: Jisheng Zhang Date: Thu, 2 Jul 2015 01:33:07 +0000 (+0800) Subject: arm64: cpuidle: add __init section marker to arm_cpuidle_init X-Git-Tag: v4.9.8~3960^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea389daa7fd91f2fed8b06c01d4460e861c27023;p=platform%2Fkernel%2Flinux-rpi3.git arm64: cpuidle: add __init section marker to arm_cpuidle_init It is not needed after booting, this patch moves the arm_cpuidle_init() function to the __init section. Signed-off-by: Jisheng Zhang Reviewed-by: Krzysztof Kozlowski Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c index 7ce589c..9047cab6 100644 --- a/arch/arm64/kernel/cpuidle.c +++ b/arch/arm64/kernel/cpuidle.c @@ -15,7 +15,7 @@ #include #include -int arm_cpuidle_init(unsigned int cpu) +int __init arm_cpuidle_init(unsigned int cpu) { int ret = -EOPNOTSUPP;