diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2015-07-02 09:33:07 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-07-02 17:44:27 +0100 |
commit | ea389daa7fd91f2fed8b06c01d4460e861c27023 (patch) | |
tree | e30929f3231169dafc434b4c926e919c3e45c3bb /arch/arm64/kernel | |
parent | fd28f5d439fca77348c129d5b73043a56f8a0296 (diff) | |
download | op-kernel-dev-ea389daa7fd91f2fed8b06c01d4460e861c27023.zip op-kernel-dev-ea389daa7fd91f2fed8b06c01d4460e861c27023.tar.gz |
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')
-rw-r--r-- | arch/arm64/kernel/cpuidle.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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; |