Explorar o código

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>
Jisheng Zhang %!s(int64=10) %!d(string=hai) anos
pai
achega
ea389daa7f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/arm64/kernel/cpuidle.c

+ 1 - 1
arch/arm64/kernel/cpuidle.c

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