]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: cpuidle: add __init section marker to arm_cpuidle_init
authorJisheng Zhang <jszhang@marvell.com>
Thu, 2 Jul 2015 01:33:07 +0000 (09:33 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 2 Jul 2015 16:44:27 +0000 (17:44 +0100)
It is not needed after booting, this patch moves the arm_cpuidle_init()
function to the __init section.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpuidle.c

index 7ce589ca54a4fbb8c3b9ea3c5c5235737e1947e7..9047cab68fd3494ebf1c634f137fddcfde955932 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/cpuidle.h>
 #include <asm/cpu_ops.h>
 
-int arm_cpuidle_init(unsigned int cpu)
+int __init arm_cpuidle_init(unsigned int cpu)
 {
        int ret = -EOPNOTSUPP;