summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/cpuidle.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2015-07-02 09:33:07 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2015-07-02 17:44:27 +0100
commitea389daa7fd91f2fed8b06c01d4460e861c27023 (patch)
treee30929f3231169dafc434b4c926e919c3e45c3bb /arch/arm64/kernel/cpuidle.c
parentfd28f5d439fca77348c129d5b73043a56f8a0296 (diff)
downloadlinux-ea389daa7fd91f2fed8b06c01d4460e861c27023.tar.bz2
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 <jszhang@marvell.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/cpuidle.c')
-rw-r--r--arch/arm64/kernel/cpuidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c
index 7ce589ca54a4..9047cab68fd3 100644
--- a/arch/arm64/kernel/cpuidle.c
+++ b/arch/arm64/kernel/cpuidle.c
@@ -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;