diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2015-07-01 21:33:07 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-07-02 12:44:27 -0400 |
commit | ea389daa7fd91f2fed8b06c01d4460e861c27023 (patch) | |
tree | e30929f3231169dafc434b4c926e919c3e45c3bb | |
parent | fd28f5d439fca77348c129d5b73043a56f8a0296 (diff) |
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>
-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 7ce589ca54a4..9047cab68fd3 100644 --- a/arch/arm64/kernel/cpuidle.c +++ b/arch/arm64/kernel/cpuidle.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <asm/cpuidle.h> | 15 | #include <asm/cpuidle.h> |
16 | #include <asm/cpu_ops.h> | 16 | #include <asm/cpu_ops.h> |
17 | 17 | ||
18 | int arm_cpuidle_init(unsigned int cpu) | 18 | int __init arm_cpuidle_init(unsigned int cpu) |
19 | { | 19 | { |
20 | int ret = -EOPNOTSUPP; | 20 | int ret = -EOPNOTSUPP; |
21 | 21 | ||