linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: cpuidle: add __init section marker to arm_cpuidle_init
@ 2015-07-02  1:33 Jisheng Zhang
  2015-07-02  1:56 ` Krzysztof Kozlowski
  2015-07-02 16:45 ` Catalin Marinas
  0 siblings, 2 replies; 4+ messages in thread
From: Jisheng Zhang @ 2015-07-02  1:33 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm64/kernel/cpuidle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-02 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02  1:33 [PATCH] arm64: cpuidle: add __init section marker to arm_cpuidle_init Jisheng Zhang
2015-07-02  1:56 ` Krzysztof Kozlowski
2015-07-02  2:16   ` Jisheng Zhang
2015-07-02 16:45 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).